[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.98.0706081132150.4205@woody.linux-foundation.org>
Date: Fri, 8 Jun 2007 11:35:56 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Theodore Tso <tytso@....edu>
cc: Davide Libenzi <davidel@...ilserver.org>,
Ulrich Drepper <drepper@...hat.com>,
Eric Dumazet <dada1@...mosbay.com>,
Kyle Moffett <mrmacman_g4@....com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [patch 7/8] fdmap v2 - implement sys_socket2
On Fri, 8 Jun 2007, Theodore Tso wrote:
>
> ... and it's not like sys_close() or sys_open() is a majorly critical
> path, is it?
open/close/stat/lstat are _the_ most important system calls, so yes, it's
a majorly critical path. MUCH more so than opening a new TCP connection.
You _may_ open a few hundred TCP connections a second (yeah, yeah, don't
tell me about unrealistic benchmarks that do more), but that's on a server
with good bandwidth etc. open/closes easily happen tens of _thousands_ of
times a second. We're talking sub-microsecond system calls.
Whether get_random_int() is noticeable or not, I dunno. But that path is a
hell of a lot more performance-sensitive than pretty much anything else.
Linus
-
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