PF queue speed bug??

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: RLW
Date: Saturday, September 4, 2010 - 8:29 am

Hello,

I am using OpenBSD for a long time now, but recenty when I was testing
hi speed queues using altq and cbq i saw there is strange problem.

When queue is set to:
a)  5  mbit, trasfer rate between 2 computers is around 5mbit -> OK
b) 90 mbit, trasfer rate between 2 computers is around 90mbit -> OK
c) 50 mbit, trasfer rate between 2 computers is ONLY around 30mbit ->
WHY ?!?!?!?!???

I have tried changing mbit to kb, using % - no difference.
I have tested it on OpenBSD 4.7 and 4.2.

I was testing this speed using iperf, pktstat, transfering file using 
scp and wget.

Below is pf.conf:

set skip on lo

altq on xl1 cbq bandwidth 52Mb  queue { komp1_out2, komp2_out2, 
komp3_out2, domyslna_out2 }

         queue komp1_out2    bandwidth  500Kb   cbq
         queue komp2_out2    bandwidth  500Kb   cbq
	queue komp3_out2    bandwidth  50Mb    cbq
	queue domyslna_out2 bandwidth  1Mb     cbq(default)


altq on xl0 cbq bandwidth 52Mb  queue { komp1_in2_wew, komp2_in2_wew, 
komp3_in2_wew, domyslna_in2_wew }

         queue komp1_in2_wew    bandwidth  500Kb    cbq
         queue komp2_in2_wew    bandwidth  500Kb    cbq
         queue komp3_in2_wew    bandwidth  50Mb     cbq
         queue domyslna_in2_wew bandwidth  1Mb      cbq (default)



pass  in quick on xl0 from 192.168.111.0/24 to any queue komp3_in2_wew
pass out quick on xl1 from 192.168.111.0/24 to any nat-to 10.0.0.4 queue 
komp3_out2


pass in quick  on xl1 proto tcp from any to 10.0.0.4 port {5001} rdr-to 
192.168.111.2 queue komp3_out2
pass out quick on xl0 proto tcp from any to 192.168.111.2 queue 
komp3_in2_wew


--------------
best regards,
RLW
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PF queue speed bug??, RLW, (Sat Sep 4, 8:29 am)