Hi,
I want to follow suit according to section "15.4. Prioritizing
interactive traffic" of "linux advanced routing howto". But having
read the howto back and forth many times, I'm still confused.
According to the first part of the howto, setting the Type of
Service (TOS) bits for ssh, telnet & ftp etc are default/done:
- - - - >8 - - - -
This table from RFC 1349 (read it for more details) tells you how
applications might very well set their TOS bits:
TELNET 1000 (minimize delay)
FTP
Control 1000 (minimize delay)
Data 0100 (maximize throughput)
TFTP 1000 (minimize delay)
SMTP
Command phase 1000 (minimize delay)
DATA phase 0100 (maximize throughput)
Domain Name Service
UDP Query 1000 (minimize delay)
TCP Query 0000
Zone Transfer 0100 (maximize throughput)
NNTP 0001 (minimize monetary cost)
ICMP
Errors 0000
Requests 0000 (mostly)
Responses <same as request> (mostly)
- - - - >8 - - - -
Why the cookbook tell me to do them again then?
Moreover, the default ppp configuration of RH8 has the pfifo_fast
mode preset already:
- - - - >8 - - - -
$ ip link list
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:07:95:37:6d:13 brd ff:ff:ff:ff:ff:ff
3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
link/ppp
- - - - >8 - - - -
Then why it is not working? How can I tell? Well, when I'm
downloading something, all the rest of the web browsing will be
jerky: connection refused/not established, connection timeout,
page returned blank are all the 'normal' scenarios. The worst case
is DNS failure, lookup 'google.com' failed, which happened quite
often.
Last question, How can I set minimize delay for web/news
connection, and maximize throughput for web/news content transfer?
They seems to me using the same port, so the trick played in the
cookbook don't seem to be able to apply.
I would really appreciate any help anyone could give me. What I'm
trying to do is quite a common practice. I believe many people
have done it already. Can anybody give me a cookbook so that I can
follow?
Thanks a lot
--
Tong (remove underscore(s) to reply)
*niX Power Tools Project:
http://xpt.sourceforge.net/
- All free contribution & collection