Date: Sat, 02 Sep 2000 06:15:42 GMT From: efinley@efinley.com (Elliot Finley) To: freebsd-questions@FreeBSD.org Subject: FreeBSD 4.1-Stable and Thundering Herds Message-ID: <39b1992e.183887987@mail.afnetinc.com>
next in thread | raw e-mail | index | archive | help
Hello,
I was wondering if the "Thundering Herd"
(http://www.citi.umich.edu/projects/linux-scalability/reports/accept.html)
problem exists in FreeBSD 4.1-Stable?
I have a bunch of processes doing an accept on the same fifo at the
same time. I tried serializing the accepts using flock, and it works
most of the time, but it seems that I hit a race condition once in a
great while when trying to get a lock.
I tried the same code without serializing the accepts, and it works,
but I was just wondering how well it will scale. Thus the 'Thundering
Herd' question.
Any pointers/RTFM/anything welcome.
P.S. The code is written in Perl 5.005_03 if that matters.
--
Elliot Finley (efinley@efinley.com)
Weird Science!
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39b1992e.183887987>
