[uml-devel] PATCH v5-redo

2017-10-06 Thread anton . ivanov
This is a resubmit of the patch from earlier today. I had forgotten to include all files - apologies. A. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.l

[uml-devel] [PATCH v5-redo 1/3] Epoll based IRQ controller

2017-10-06 Thread anton . ivanov
From: Anton Ivanov 1. Removes the need to walk the IRQ/Device list to determine who triggered the IRQ. 2. Improves scalability (up to several times performance improvement for cases with 10s of devices). 3. Improves UML baseline IO performance for one disk + one NIC use case by up to 10%. 4. Intr

[uml-devel] [PATCH v5-redo 2/3] High Performance Vector Network Driver

2017-10-06 Thread anton . ivanov
From: Anton Ivanov 1. Provides infrastructure for vector IO using recvmmsg/sendmmsg. 1.1. Multi-message read. 1.2. Multi-message write. 1.3. Optimized queue support for multi-packet enqueue/dequeue. 1.4. BQL/DQL support. 2. Implements transports for several transports as well support for direct w

[uml-devel] [PATCH v5-redo 3/3] TSO/GSO Support for Vector Network drivers

2017-10-06 Thread anton . ivanov
From: Anton Ivanov 1. TSO/GSO support where applicable or available RX - raw and tapraw TX - tap only (raw appears to be hitting a bug in the af_packet family in the kernel resulting in it being stuck in a -ENOBUFS loop. This results in TX/RX TCP performance ~ 2-3 times higher than qemu on same

[uml-devel] [PATCH v5 3/3] TSO/GSO Support for Vector Network drivers

2017-10-06 Thread anton . ivanov
From: Anton Ivanov 1. TSO/GSO support where applicable or available RX - raw and tapraw TX - tap only (raw appears to be hitting a bug in the af_packet family in the kernel resulting in it being stuck in a -ENOBUFS loop. This results in TX/RX TCP performance ~ 2-3 times higher than qemu on same

[uml-devel] [PATCH v5 2/3] High Performance Vector Network Driver

2017-10-06 Thread anton . ivanov
From: Anton Ivanov 1. Provides infrastructure for vector IO using recvmmsg/sendmmsg. 1.1. Multi-message read. 1.2. Multi-message write. 1.3. Optimized queue support for multi-packet enqueue/dequeue. 1.4. BQL/DQL support. 2. Implements transports for several transports as well support for direct w

[uml-devel] [PATCH v5 1/3] Epoll based IRQ controller

2017-10-06 Thread anton . ivanov
From: Anton Ivanov 1. Removes the need to walk the IRQ/Device list to determine who triggered the IRQ. 2. Improves scalability (up to several times performance improvement for cases with 10s of devices). 3. Improves UML baseline IO performance for one disk + one NIC use case by up to 10%. 4. Intr

[uml-devel] PATCH v5

2017-10-06 Thread anton . ivanov
Patches 1 and 2 are the same as before, patch 3 adds TSO, GRO and full scatter gather support as well as ability to on/off all features from commandline and/or ethtool where applicable. The result from patch 3 is 5.6Gbit on tcp throughput using the tap/raw driver on a 3.5GHz AMD A4 desktop. I am

Re: [uml-devel] [PATCH v5 0/2] um: Protect memory mapped file

2016-01-10 Thread Richard Weinberger
Am 22.12.2015 um 22:15 schrieb Mickaël Salaün: > This series protect the memory mapped file. This apply on v4.4-rc6. > > Changes since v4: > * fix spelling [1/2] > > Changes since v3: > * add Tristan Schmelcher's ack > > Changes since v2; addressed Tristan Schmelcher's comment: > * remove the wh

Re: [uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-05 Thread Anton Ivanov
On 05/05/15 08:00, Thomas Meyer wrote: > >> Am 04.05.2015 um 18:22 schrieb Anton Ivanov : >> >> Hi Thomas, > Hi Anton, > >> I read it and like it except idle sleep. See my comments inline. I >> killed that nanosleep quite on purpose :) > Okay. I think I understand now. > >> With what you

Re: [uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-05 Thread Thomas Meyer
> Am 04.05.2015 um 18:22 schrieb Anton Ivanov : > > Hi Thomas, Hi Anton, > > I read it and like it except idle sleep. See my comments inline. I > killed that nanosleep quite on purpose :) Okay. I think I understand now. > > With what you did to the tramp the issue of userspace sta

Re: [uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-04 Thread Anton Ivanov
Hi Thomas, I read it and like it except idle sleep. See my comments inline. I killed that nanosleep quite on purpose :) With what you did to the tramp the issue of userspace stalling should go away by the way (in theory). I think that it will still show a very HZ behavior, but IMHO t

Re: [uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-03 Thread Anton Ivanov
Hi Thomas, I need to read it in detail - this is based on quickly scanning through it. Based on my "experimental" notes, if you do not have a periodic timer setup in that part you have commented and marked as FIXME userspace at some point hangs (at least used to in 2.6.31 to 3.4, I have not tri

Re: [uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-03 Thread Thomas Meyer
Am Samstag, den 02.05.2015, 12:08 +0100 schrieb Anton Ivanov: > On 02/05/15 10:48, Thomas Meyer wrote: > > Hi, > > > > I did port Anton's v4 patch to v4.1-rc1-56-g3d99e3f and run it the last > > two days. > > > > Original v4 from Anton can be found here: > > https://sourceforge.net/p/user-mode-linu

Re: [uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-02 Thread Anton Ivanov
On 02/05/15 10:48, Thomas Meyer wrote: > Hi, > > I did port Anton's v4 patch to v4.1-rc1-56-g3d99e3f and run it the last > two days. > > Original v4 from Anton can be found here: > https://sourceforge.net/p/user-mode-linux/mailman/message/32856805/ > > Issues addressed in v5 version: > - Ported

[uml-devel] [PATCH v5] um: Add a high resolution timer subsystem

2015-05-02 Thread Thomas Meyer
Hi, I did port Anton's v4 patch to v4.1-rc1-56-g3d99e3f and run it the last two days. Original v4 from Anton can be found here: https://sourceforge.net/p/user-mode-linux/mailman/message/32856805/ Issues addressed in v5 version: - Ported to v4.1-rc1-56-g3d99e3f - Replaced IRQF_DISABLED with IRQF

[uml-devel] [PATCH v5 08/48] kernel: Move pm_power_off to common code

2014-11-06 Thread Guenter Roeck
pm_power_off is defined for all architectures. Move it to common code. Have all architectures call do_kernel_power_off instead of pm_power_off. Some architectures point pm_power_off to machine_power_off. For those, call do_kernel_power_off from machine_power_off instead. Acked-by: David Vrabel A

[uml-devel] [PATCH v5, part4 07/41] UML: normalize global variables exported by vmlinux.lds

2013-05-08 Thread Jiang Liu
Normalize global variables exported by vmlinux.lds to conform usage guidelines from include/asm-generic/sections.h. 1) Use _text to mark the start of the kernel image including the head text, and _stext to mark the start of the .text section. 2) Export mandatory global variables __bss_stop. 3) Adj

[uml-devel] [PATCH v5, part4 37/41] mm/um: prepare for removing num_physpages and simplify mem_init()

2013-05-08 Thread Jiang Liu
Prepare for removing num_physpages and simplify mem_init(). Signed-off-by: Jiang Liu Cc: Jeff Dike Cc: Richard Weinberger Cc: user-mode-linux-devel@lists.sourceforge.net Cc: linux-ker...@vger.kernel.org --- arch/um/kernel/mem.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

Re: [uml-devel] [PATCH V5 18/30] fs: add read_iter and write_iter to several file systems

2013-01-10 Thread Boaz Harrosh
On 01/09/2013 09:58 PM, Dave Kleikamp wrote: > These are the simple ones. > > File systems that use generic_file_aio_read() and generic_file_aio_write() > can trivially support generic_file_read_iter() and generic_file_write_iter(). > > This patch adds those file_operations for 9p, adfs, affs, bf

[uml-devel] [PATCH V5 18/30] fs: add read_iter and write_iter to several file systems

2013-01-09 Thread Dave Kleikamp
These are the simple ones. File systems that use generic_file_aio_read() and generic_file_aio_write() can trivially support generic_file_read_iter() and generic_file_write_iter(). This patch adds those file_operations for 9p, adfs, affs, bfs, exofs, ext2, ext3, fat, f2fs, hfs, hfsplus, hostfs, hp