Ingo Molnar writes: > On Mon, 15 Jan 2001, Jonathan Thackray wrote: >> It's a very useful system call and makes file serving much more >> scalable, and I'm glad that most Un*xes now have support for it >> (Linux, FreeBSD, HP-UX, AIX, Tru64). The next cool feature to add to >> Linux is sendpath(), which does the open() before the sendfile() all >> combined into one system call. Ingo Molnar's data in a nice table: open/close 7.5756 microseconds stat 5.4864 microseconds write 0.9614 microseconds read 1.1420 microseconds syscall 0.6349 microseconds Rather than combining open() with sendfile(), it could be combined with stat(). Since the syscall would be new anyway, it could skip the normal requirement about returning the next free file descriptor in favor of returning whatever can be most quickly found. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: 'native files', 'object fingerprint... Jamie Lokier
- Re: 'native files', 'object fingerprint... Felix von Leitner
- Re: 'native files', 'object fingerprint... Linus Torvalds
- Re: 'native files', 'object fingerprint... dean gaudet
- Re: 'native files', 'object fingerprint... Pavel Machek
- Re: 'native files', 'object fingerprint... Pavel Machek
- Re: [patch] sendpath() support, 2.4.0-t... Ingo Molnar
- Re: [patch] sendpath() support, 2.4.0-t... dean gaudet
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Albert D. Cahalan
- Re: Is sendfile all that sexy? Linus Torvalds
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? Peter Samuelson
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? Jamie Lokier
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? David L. Parsley
- Re: Is sendfile all that sexy? Jakub Jelinek