lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 3 Sep 2014 12:59:39 +0300 From: "Michael S. Tsirkin" <mst@...hat.com> To: Peter Zijlstra <peterz@...radead.org> Cc: Jason Wang <jasowang@...hat.com>, Eliezer Tamir <eliezer.tamir@...ux.intel.com>, Ingo Molnar <mingo@...nel.org>, Mike Galbraith <umgwanakikbuti@...il.com>, davem@...emloft.net, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu> Subject: Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable On Wed, Sep 03, 2014 at 11:36:05AM +0200, Peter Zijlstra wrote: > On Wed, Sep 03, 2014 at 03:33:23PM +0800, Jason Wang wrote: > > A new issue is for virt users. I implement busy polling for virtio-net > > but we don't want one vcpu monopoly the cpu if there's some tasks on > > other vcpus. We may need some hint from host to guest to let it exit the > > loop if needed. > > Aw god.. virt nonsense is wrecking things again. I don't see a reason to bring virt up here. Original patch shows improvement with a simple loopback netperf test. Some people like the linux kernel so much, they want to run many instances of it on the same CPU. Understandable. So of course everything is then magnified x2 as you are running two schedulers and two networking stacks, but let's focus on the important thing which is better interaction between busy polling and the linux scheduler. -- MST -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists