|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 21 Feb 2004 18:12:06 To : All Subject : о чем долго говорили большевики -------------------------------------------------------------------------------- Date: Fri, 20 Feb 2004 18:46:36 -0500 From: Brian Fundakowski Feldman <green@freebsd.org> Subject: Testers wanted: reentrant resolver To: current@freebsd.org New and improved, my reentrant resolver patch even includes documentation! What does it do, you ask? Why, it simply makes tabbed browsing in Mozilla an order of magnitude faster! How does it do that, you ask? Well, it simply makes h_errno and the getaddrinfo(3)/getipnodebyname(3) functions thread-safe in a more intelligent way. There is still a global lock around some pieces of data, but for the most part the global lock (which is what serialized EVERY hostname lookup in threaded programs) is not contested. It's still used for some NIS-related tasks, looking up hostents, and looking up server port names, but that's not comparatively very important. The resolver itself is a thread-safe backend where each thread gets its own resolver that can run concurrently with the rest, so the time spent blocked waiting for DNS responses is gone. Give it a try, and let me know how it works! <URL:http://green.homeunix.org/~green/reentrant_resolver.patch> ... ПРИЛОЖЭHИЭ. Бэз приложэний --- GoldED+/BSD 1.1.5 * Origin: (2:5030/500) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/22214037674a.html, оценка из 5, голосов 10
|