Skip to contentSkip to conversation

fixed RTT

LARTC Dmitriy 2 participants 2 messages Jul 8, 2002

lore
Share & tools
lore

Dmitriy

author
#0 lore raw

Can anybody tell me: is there any way(module, qdisc) which is possible to make a packet wait for a fixed time then dequeue? It is needed for me to get a fixed RTT. Using htb,tbf... I can get only total speed limitations but then a queue is empty rtt of small ICMP packets is smth like 200-300 usec. Will be thankful for any info.(Note: I`d like to make this thing using only Linux tc).

Example:
(speed is limited to 33.6 Kbit/sec using tbf as leaf node of one CBQ class)

[root@rack1 root]# time scp [email protected]:/boot/vmlinuz-netli /tmp [email protected]'s password:
vmlinuz 100% |*************************************************| 907 KB 03:09

real    4m1.375s
user    0m0.003s
sys     0m0.012s

[root@rack1 root]# ping 10.10.10.65
PING 10.10.10.65 (10.10.10.65) from 10.10.10.64 : 56(84) bytes of data. 64 bytes from 10.10.10.65: icmp_seq=0 ttl%4 time54 usec
64 bytes from 10.10.10.65: icmp_seq=1 ttl%4 time"9 usec

--- 10.10.10.65 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/mdev = 0.229/0.291/0.354/0.064 ms [root@rack1 root]#

Signature · 5 lines
With Respect
Dmitriy Kuznetsov
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 6 lines · Dmitriy

Can anybody tell me: is there any way(module, qdisc) which is possible to make a packet wait for a fixed time then dequeue? It is needed for me to get a fixed RTT. Using htb,tbf... I can get only total speed limitations but then a queue is empty rtt of small ICMP packets is smth like 200-300 usec. Will be thankful for any info.(Note: I`d like to make this thing using only Linux tc).

Just a random thought but dont know if this is doable.
If it is possible to do a range check on the length field of a packet using some filters (u32 filter??) then you could Q them in different Qs and then control when they can be sent (>= SOME FIXED TIME) say using tbf. but I am not sure if u32 can do these kinda range check.
Any comments?

Quoted 19 lines

Example:
(speed is limited to 33.6 Kbit/sec using tbf as leaf node of one CBQ class)

[root@rack1 root]# time scp [email protected]:/boot/vmlinuz-netli /tmp [email protected]'s password:
vmlinuz 100% |*************************************************| 907 KB 03:09

real    4m1.375s
user    0m0.003s
sys     0m0.012s

[root@rack1 root]# ping 10.10.10.65
PING 10.10.10.65 (10.10.10.65) from 10.10.10.64 : 56(84) bytes of data. 64 bytes from 10.10.10.65: icmp_seq=0 ttl%4 time54 usec
64 bytes from 10.10.10.65: icmp_seq=1 ttl%4 time"9 usec

Quoted 6 lines

--- 10.10.10.65 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/mdev = 0.229/0.291/0.354/0.064 ms [root@rack1 root]#

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/