Skip to contentSkip to conversation

performance regression in virtio-net in 2.6.32-rc4

DISCUSSION Michael S. Tsirkin 3 participants 5 messages Oct 26, 2009 – Oct 27, 2009

Subsystems (4)
lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

Hi!
I noticed a performance regression in virtio net: going from 2.6.31 to 2.6.32-rc4 I see this, for guest to host communication:

[mst@tuck ~]$ ssh robin sh streamtest1
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 11.0.0.3 (11.0.0.3) port 0 AF_INET : demo

Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

87380 16384 16384 10.20 7806.48

[mst@tuck ~]$ ssh robin sh streamtest1
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 11.0.0.3 (11.0.0.3) port 0 AF_INET : demo

Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

87380 16384 16384 10.00 6814.60

Note: I had to revert 48925e372f04f5e35fec6269127c62b2c71ab794, and I applied a patch
virtio-pci: fix per-vq MSI-X request logic
which fixes a bug introduced by f68d24082e22ccee3077d11aeb6dc5354f0ca7f1.

Any tips on debugging this?

Signature · 1 line
MST
#1 lore raw
Quoted 6 lines · Michael S. Tsirkin

Hi!
I noticed a performance regression in virtio net: going from 2.6.31 to 2.6.32-rc4 I see this, for guest to host communication:

Any tips on debugging this?

Lacking better advice, a bisect can help as a last resort. 'git bisect start -- drivers/net drivers/virtio' will probably find it fastest.

Signature · 1 line
error compiling committee.c: too many arguments to function
#2 lore raw
In reply to Michael S. Tsirkin
Quoted 6 lines · Michael S. Tsirkin

Hi!
I noticed a performance regression in virtio net: going from 2.6.31 to 2.6.32-rc4 I see this, for guest to host communication:

Any tips on debugging this?

Lacking better advice, a bisect can help as a last resort. 'git bisect start -- drivers/net drivers/virtio' will probably find it fastest.

Signature · 1 line
error compiling committee.c: too many arguments to function
#3 lore raw
In reply to Michael S. Tsirkin
Quoted 3 lines · Michael S. Tsirkin

Hi!
I noticed a performance regression in virtio net: going from 2.6.31 to 2.6.32-rc4 I see this, for guest to host communication:

...

Quoted 4 lines
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

87380 16384 16384 10.20 7806.48

...

Quoted 1 line

87380 16384 16384 10.00 6814.60

Hmm, needs a bisect I'd say.

Thanks,
Rusty.

#4 lore raw
In reply to Michael S. Tsirkin
Quoted 3 lines · Michael S. Tsirkin

Hi!
I noticed a performance regression in virtio net: going from 2.6.31 to 2.6.32-rc4 I see this, for guest to host communication:

...

Quoted 4 lines
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

87380 16384 16384 10.20 7806.48

...

Quoted 1 line

87380 16384 16384 10.00 6814.60

Hmm, needs a bisect I'd say.

Thanks,
Rusty.