Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Andrew Morton
On Tue, 07 Nov 2006 12:52:41 -0800 (PST) David Miller <[EMAIL PROTECTED]> wrote: > From: Andrew Morton <[EMAIL PROTECTED]> > Date: Tue, 7 Nov 2006 11:34:00 -0800 > > > What Evgeniy means here is that copy_to_user() is slower than memcpy() (on > > his machine, with his kernel config, at least). >

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread David Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Tue, 7 Nov 2006 11:34:00 -0800 > What Evgeniy means here is that copy_to_user() is slower than memcpy() (on > his machine, with his kernel config, at least). > > Which is kinda weird and unexpected and is something which we should > investigate indepe

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Andrew Morton
On Tue, 07 Nov 2006 07:32:20 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Evgeniy Polyakov wrote: > > Mmap ring buffer implementation was stopped by Andrew Morton and Ulrich > > Drepper, process' memory is used instead. copy_to_user() is slower (and > > some times noticebly), but there are major

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Evgeniy Polyakov
On Tue, Nov 07, 2006 at 07:17:03AM -0500, Jeff Garzik ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > >Well, kevent network and FS AIO are suspended for now (although first > > Why? > > IMO, getting async event submission right is important. It should be > designed in parallel with async

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Jeff Garzik
Evgeniy Polyakov wrote: Mmap ring buffer implementation was stopped by Andrew Morton and Ulrich Drepper, process' memory is used instead. copy_to_user() is slower (and some times noticebly), but there are major advantages of such approach. h. I say there are advantages to both. Perhaps c

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Jeff Garzik
Evgeniy Polyakov wrote: Well, kevent network and FS AIO are suspended for now (although first Why? IMO, getting async event submission right is important. It should be designed in parallel with async event reception. Jeff - To unsubscribe from this list: send the line "unsubscrib

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Evgeniy Polyakov
On Tue, Nov 07, 2006 at 06:26:09AM -0500, Jeff Garzik ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > >Generic event handling mechanism. > > > >Consider for inclusion. > > > >Changes from 'take20' patchset: > > * new ring buffer implementation > > * removed artificial limit on possible numbe

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Evgeniy Polyakov
On Tue, Nov 07, 2006 at 06:46:58AM -0500, Jeff Garzik ([EMAIL PROTECTED]) wrote: > At an aside... This may be useful. Or not. > > Al Viro had an interesting idea about kernel<->userspace data passing > interfaces. He had suggested creating a task-specific filesystem > derived from ramfs. Thr

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Jeff Garzik
At an aside... This may be useful. Or not. Al Viro had an interesting idea about kernel<->userspace data passing interfaces. He had suggested creating a task-specific filesystem derived from ramfs. Through the normal VFS/VM codepaths, the user can easily create [subject to resource/priv ch

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-11-07 Thread Jeff Garzik
Evgeniy Polyakov wrote: Generic event handling mechanism. Consider for inclusion. Changes from 'take20' patchset: * new ring buffer implementation * removed artificial limit on possible number of kevents With this release and fixed userspace web server it was possible to achive 3960+ req/s w

Re: [take21 0/4] kevent: Generic event handling mechanism.

2006-10-27 Thread Evgeniy Polyakov
On Fri, Oct 27, 2006 at 08:10:01PM +0400, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > > Generic event handling mechanism. > > Consider for inclusion. > > Changes from 'take20' patchset: > * new ring buffer implementation Test userspace application can be found in archive on project's homepa

[take21 0/4] kevent: Generic event handling mechanism.

2006-10-27 Thread Evgeniy Polyakov
Generic event handling mechanism. Consider for inclusion. Changes from 'take20' patchset: * new ring buffer implementation * removed artificial limit on possible number of kevents With this release and fixed userspace web server it was possible to achive 3960+ req/s with client connection rat