lkml.org 
[lkml]   [2000]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: close() slow on socketpairs?
Date
From
> On both 2.2.14 and 2.2.16, pipe and socketpair are nice and speedy.
> close() is fine for pipes, but at 8000 socketpairs, each call to close()
> takes 14 *milliseconds* at 100% cpu usage. What's up with that?

Welcome to the world of mark sweep garbage collection. The folks who allowed
file handle passing on AF_UNIX sockets dug a very large hole and jumped down it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.235 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site