Messages in this thread |  | | Subject | Re: close() slow on socketpairs? | Date | Tue, 17 Oct 2000 12:28:19 +0100 (BST) | From | Alan Cox <> |
| |
> 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/
|  |