[uml-devel] Fwd: Mail delivery failed: returning message to sender

2014-09-22 Thread Anton Ivanov
Hi RIchard, hi list, There is some problem with the list on sourceforge. It has bounced one of the patches - no 4. I can resend this for book-keeping purposes. If memory serves me right there are no changes in this particular one so the earlier version (3) from ~ 2 weeks ago can be used instead.

[uml-devel] [PATCH v4 11/11] Replace fsync() with sync_file_range()

2014-09-22 Thread anton . ivanov
From: Anton Ivanov If the ubd is asynchronous the amount of time uml will spend fsync-ing on FLUSH is unpredictable. There are bits in the upper fs layers that really dislike this. Replacing fsync() with an async flush request via sync_file_range mitigates this (somewhat), improves performance si

[uml-devel] [PATCH v4 10/11] High Resolution Timer subsystem for UML

2014-09-22 Thread anton . ivanov
From: Anton Ivanov This patch adds an extra timer source which has correct timing and uses an up-to-date OS API and. Results - correct kernel behaviour on timer related tasks. 1. Improvement in network performance (TCP state machines are now fed correct time). 2. Correct QoS and traffic

[uml-devel] [PATCH v4 05/11] GRE transport for UML

2014-09-22 Thread anton . ivanov
From: Anton Ivanov This transport allows a UML to connect to another UML local or remote, the Linux host or any other network device running the industry standard Ethernet over GRE protocol. The transport supports all features of RFC 2784. The transport supports a common set of features with the

[uml-devel] [PATCH v4 03/11] High performance networking subsystem

2014-09-22 Thread anton . ivanov
From: Anton Ivanov Support for multi-packet vector IO - multiple packets read in one syscall and (optionally) written in one syscall. Support for (optional) queueing on EAGAIN/ENOBUFS - applies only to socket transports. Sorry TAP, -EYOULOSE - it will remain slower than any so

[uml-devel] [PATCH v4 01/11] Epoll based interrupt controller

2014-09-22 Thread anton . ivanov
From: Anton Ivanov 1. Minimum kernel 2.5.44 2. No "walk the list" lookups for received IRQs - immediate identification of the correct handler to invoke 3. Full set of IRQ semantics - edge, level, read, write 3.1. Write is now a *REAL* write - so if you (ab)use the write to signify NONE (a

[uml-devel] [PATCH v4 02/11] Remove unnecessary 'reactivate' statements

2014-09-22 Thread anton . ivanov
From: Anton Ivanov The epoll based controller has real (not emulated) edge and level semantics and the edge/level is handled by epoll. There is no toggling of the poll set any more, thus it is removed throughout Signed-off-by: Anton Ivanov --- arch/um/drivers/chan_kern.c |2 -- arch/um

[uml-devel] [PATCH v4 07/11] Performance and NUMA improvements for ubd

2014-09-22 Thread anton . ivanov
From: Anton Ivanov The use of the seek()/read() and seek()/write() is a terminal disease on NUMA. Intense use of this on shared files (f.e. the master for a COW image) can cause anything up to and including killing CPUs on unhandled NMIs. This patch deals with this UML major issue (and one of UM

[uml-devel] [PATCH v4 09/11] Better IPC for UBD

2014-09-22 Thread anton . ivanov
From: Anton Ivanov socketpair() is a better IPC choice for lots of small requests as it allows deeper (and configurable) queues than pipe() As a result UBD will process nearly all of the requests submitted to it instead of bouncing a significant percentage under load Signed-off-by: Anton Ivanov

[uml-devel] Updated Performance Improvements patchset

2014-09-22 Thread anton . ivanov
This is an update of the performance improvement patchset, it addresses a number of issues resulting from porting what was originally written for 3.3.8 to the current linux kernel. Changes (where applicable) are annotated in actual patchsets. A.

[uml-devel] [PATCH v4 08/11] Minor performance optimization for ubd

2014-09-22 Thread anton . ivanov
From: Anton Ivanov Obvious performance optimization - it is not necessary to read the requests one at a time in the IRQ handler Signed-off-by: Anton Ivanov --- arch/um/drivers/ubd_kern.c | 29 ++--- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/arch/u

[uml-devel] [PATCH v4 06/11] RAW Ethernet transport for UML

2014-09-22 Thread anton . ivanov
From: Anton Ivanov This is an alternative to the well known pcap transport. In the absense of special hardware support pcap is slow, guaranteed to be slow and with significant penalties on NUMA/SMP systems due to the timestamping of every packet. This transport does not incur any of these times