Re: [QA-TCP] How to send tcp small packages immediately?

2014-10-26 Thread Zhangjie (HZ)
Thanks! On 2014/10/24 23:19, Rick Jones wrote: On 10/24/2014 12:41 AM, Zhangjie (HZ) wrote: Hi, I use netperf to test the performance of small tcp package, with TCP_NODELAY set : netperf -H 129.9.7.164 -l 100 -- -m 512 -D Among the packages I got by tcpdump, there is not only small

[QA-TCP] How to send tcp small packages immediately?

2014-10-24 Thread Zhangjie (HZ)
Hi, I use netperf to test the performance of small tcp package, with TCP_NODELAY set : netperf -H 129.9.7.164 -l 100 -- -m 512 -D Among the packages I got by tcpdump, there is not only small packages, also lost of big ones (skb-len=65160). IP 129.9.7.186.60840 129.9.7.164.34607: tcp 65160

[Questions]

2014-08-20 Thread Zhangjie (HZ)
Hi MST, I see reduce networking latency from Networking Todo, the idea is to allow handling short packets from softirq or VCPU context. If from softirq context, how could softirq copy skb to guest memory? If the method is to use mmstruct of Qemu, would it be expensive? If from VCPU context,

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-07 Thread Zhangjie (HZ)
On 2014/8/5 20:14, Zhangjie (HZ) wrote: On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie (HZ) wrote: Jason is right, the new order is not the cause of network unreachable. Changing order seems not work. After about 40 times, the problem occurs

Re: Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-08-05 Thread Zhangjie (HZ)
On 2014/8/5 17:49, Michael S. Tsirkin wrote: On Tue, Aug 05, 2014 at 02:29:28PM +0800, Zhangjie (HZ) wrote: Jason is right, the new order is not the cause of network unreachable. Changing order seems not work. After about 40 times, the problem occurs again. Maybe there is other hidden

Query: Is it possible to lose interrupts between vhost and virtio_net during migration?

2014-07-31 Thread Zhangjie (HZ)
Thanks,MST! :-) I will change the order back and have a test again. On 2014/7/31 22:37, Michael S. Tsirkin wrote: On Thu, Jul 31, 2014 at 04:31:00PM +0200, Michael S. Tsirkin wrote: On Thu, Jul 31, 2014 at 07:47:24PM +0800, Zhangjie (HZ) wrote: [The test scenario]: Doing migration between

RE: Change dev-needed_headroom of virtio_net to make Patchvirtio-net: put virtio net header inline with datawork better

2014-04-24 Thread Zhangjie (HZ)
Thank you very much! I will post a patch tomorrow. --Best wishes! //Zhang Jie -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Thursday, April 24, 2014 7:45 PM To: Zhangjie (HZ) Cc: jasow...@redhat.com; Qinchuanyu; Liuyongan; kvm@vger.kernel.org; net