DD1984 / sockperf

Automatically exported from code.google.com/p/sockperf
Other
1 stars 0 forks source link

Fix vma-perf-envelope.sh to set not Addaptive-rx #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It appears that Coalesce parameters were not optimal for our needs. It probably 
entered noise to your results. 

Fix vma-perf-envelope.sh to do it automatically (today, it only handles 
rx-frames and rx-usecs, not Addaptive-rx)

Using ethtool:

the original configuration on mir9 was as follows:

[avnerb@bgate ~]$

[avnerb@bgate ~]$ ssh mir9 sudo ethtool -c eth2

Coalesce parameters for eth2:

Adaptive RX: on TX: off

stats-block-usecs: 0

sample-interval: 0

pkt-rate-low: 400000

pkt-rate-high: 450000

rx-usecs: 16

rx-frames: 88

rx-usecs-irq: 0

rx-frames-irq: 0

tx-usecs: 0

tx-frames: 0

tx-usecs-irq: 0

tx-frames-irq: 0

rx-usecs-low: 0

rx-frame-low: 0

tx-usecs-low: 0

tx-frame-low: 0

rx-usecs-high: 128

rx-frame-high: 0

tx-usecs-high: 0

tx-frame-high: 0

[avnerb@bgate ~]$

[avnerb@bgate ~]$

Above settings are bad for performance under heavy traffic.

For fixing it, please use:

[avnerb@bgate ~]$ ssh mir9 sudo ethtool -C eth2 adaptive-rx off rx-usecs 0 
rx-frames 1

To see the results, use the 1st command again, and see the difference in the 3 
highlighted fields.

Original issue reported on code.google.com by igor.ivanov@itseez.com on 4 Apr 2011 at 7:19

GoogleCodeExporter commented 9 years ago
imported from: http://argus-bg.dnsalias.org/issues/694

Original comment by igor.ivanov@itseez.com on 4 Apr 2011 at 7:20

GoogleCodeExporter commented 9 years ago
r52

Original comment by igor.ivanov@itseez.com on 22 Apr 2011 at 2:34