This could be a problem re the differences in the POSIX implementation, which is a core difference between Linux and the BSDs.
Linux implements POSIX threads as a kernel thread, using interprocess communications through a manager thread for synchronization, shared state, etc. AFAIK, the BSDs implement 'true' POSIX threads, where the POSIX threads are children of a single kernel thread. This has implications for how signals and mutexes and semaphores behave. Stuff at the edges of the standard, where multiple interpretations are possible. Plus, before NPTL (RedHat 9 and someday other distros), there are places where LinuxThreads is just wrong. Unfortunately, a lot of the tuning that Luca and I have done to ntop - which has grown a lot more protected via mutexes in the 2.2.5x+ releases - has been under Linux (although Luca has also done a lot of work on the BSD Mac OSX). It could be the combo (different thread models and different edge cases) that's causing the problems. If so, we need help from somebody who really understands the nitty gritty details of POSIX under BSD. Anyone? -----Burton ---------- Original Message ---------------------------------- From: Stanley Hopcroft <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Mon, 10 Nov 2003 21:17:30 +1100 >Dear Sir, > >On Mon, Nov 10, 2003 at 10:41:10AM +0100, Julien TOUCHE wrote: >> >> pardon me, i may be wrong, but i think ntop/openbsd is a whole problem. >> it may compiles, but for now, it is not usable. >> > >FWIW, your results are very similar to mine on FreeBSD-RELEASE: as soon >as ntop slurps some packets, CPU consumption rises dramatically and >unacceptably. > >Yours sincerely > >-- >------------------------------------------------------------------------ >Stanley Hopcroft >------------------------------------------------------------------------ > >'...No man is an island, entire of itself; every man is a piece of the >continent, a part of the main. If a clod be washed away by the sea, >Europe is the less, as well as if a promontory were, as well as if a >manor of thy friend's or of thine own were. Any man's death diminishes >me, because I am involved in mankind; and therefore never send to know >for whom the bell tolls; it tolls for thee...' > >from Meditation 17, J Donne. >_______________________________________________ >Ntop mailing list >[EMAIL PROTECTED] >http://listgateway.unipi.it/mailman/listinfo/ntop > ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/ _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
