9/3 I'm tweaking with the TCP stack on Linux. I'm wondering if anybody
has done this. I want to hard-coded the URG flag on the TCP header
to 1. Would this actually speed up my connection since every single
TCP packet is now urgent data?
\_ No. Priority flags are there for a reason. Your connection
speed is bound by the congestion and flow control algorithms
(basically how fast the network and end computer are). I'm
sure most routers will simply ignore your request to
reprioritize your own packets. There are better ways to
tweak TCP/IP like MTU adjustments and such.
\_ please be more specific. What can I tweak?
\_ yer mom likes a good tweak
\_ Go read a couple Stevens books and you'll find out why setting
the URG flag will break everything. (Hint: it doesn't mean
"send faster" it means "let the reciever know there's an urgent
out-of-band message it needs to handle specially") Unless you've
memorized the TCP/IP specs, tweaking things at that low a level
is sure to fuck everything up. Many things in TCP/IP are done
for very specific reasons by people much much smarter than you.
\_ fucking things up in the process of learning is better than
not learning at all. I will fuck with the MTU and see if I
can get porn faster.
\_ I think the default MTU is 1500. Is there a better value? --yuen
\_ Yes, you should set your MTU to the one recommended for
your network connection. Ethernet, ATM, & FDDI all have
very different characteristics - there is no one size fits
all and without more data we can't tell you what size fits
you. |