[lkml]   [2000]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: close() slow on socketpairs?
> 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
Please read the FAQ at

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