summary refs log tree commit diff stats
path: root/net/vhost-user.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-05-22 14:13:44 -0400
committerJohn Snow <jsnow@redhat.com>2015-05-22 15:58:22 -0400
commit91d0374a7ffbd6a9cd0ba159c9160d9f26220cf5 (patch)
tree62af69ba1ac03fa870eaa6f669482c72647811c6 /net/vhost-user.c
parent4d00796364ec4edab86b08abc38fd644d5e3c0ad (diff)
downloadfocaccia-qemu-91d0374a7ffbd6a9cd0ba159c9160d9f26220cf5.tar.gz
focaccia-qemu-91d0374a7ffbd6a9cd0ba159c9160d9f26220cf5.zip
libqos/ahci: Swap memread/write with bufread/write
Where it makes sense, use the new faster primitives.
For generally small reads/writes such as for the PRDT
and FIS packets, stick with the more wasteful but
easier to debug memread/memwrite.

For ahci-test (before migration tests):
With this patch:
real    0m3.675s
user    0m2.582s
sys     0m1.718s

Without any qtest protocol improvements:
real    0m14.171s
user    0m12.072s
sys     0m12.527s

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1430864578-22072-6-git-send-email-jsnow@redhat.com
Diffstat (limited to 'net/vhost-user.c')
0 files changed, 0 insertions, 0 deletions