comp.lang.ada
 help / color / mirror / Atom feed
From: Matthias Kretschmer <McCratch@gmx.net>
Subject: Re: Linux or FreeBSD a better choice for threads/tasking?
Date: Tue, 03 Apr 2001 12:40:48 +0100
Date: 2001-04-03T10:36:30+00:00	[thread overview]
Message-ID: <3AC9B6C0.AAB554B6@gmx.net> (raw)
In-Reply-To: 3AC9B5A3.7F56BCF@gmx.net



Matthias Kretschmer schrieb:

> Dima Volodin wrote:
>
> > David Schwartz wrote:
> >
> > > Dima Volodin wrote:
> > >
> > > > >         In my experience, multithreaded programs running agressively on FreeBSD
> > > > > inevitably crash. The Linux threading model is much stabler. I've tried
> > > > > both FreeBSD's libc_r and the port of LinuxThreads.
> > >
> > > > What does it mean "running aggressively"? I have a multithreaded program
> > > > that runs on a 3.5-STABLE FreeBSD box for weeks at a time without
> > > > crashing at all. Am I not aggressive enough?
> > >
> > >         By "running agressively" I mean performing a large number of tasks,
> > > stressing all aspects of the system (especially vm and networking), on
> > > an SMP machine.
> >
> > Could you throw in some numbers here, please?
> >
>
> I had never problems with FreeBSD 3.4 and 4.1-stable running on my dual PII box -
> performed very well, even with a large load, which bloated my linux-2.2 - linux-2.4 is
> much better, but the SMP code of freebsd 4-branch is definatevly faster than linux-2.4 in
> my experience around 5% - so you have to benchmark a lot to see the differences :-) - My
> box never hung with high load nor with low ... And I had it running for some time now ...
>

forgot to say: do not use FreeBSD if you need gnat and wants to compile it out of the
ports-collection - this is true for the binary package lying on ftp.freebsd.org at the
beginning of this year ... - the gnat doesn't use native thread implementation, but instead
simulates threads and uses non-preemptive threads instead. 1. It doesn't support SMP
environments. 2. Non-preemptive sucks :-) - I myself switched OS, because I was too lazy to
get gnat properly working, if someone has some patches/binaries, please mail me.

>
> >
> > >         DS
> >
> > Dima




  reply	other threads:[~2001-04-03 11:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-30  2:36 Linux or FreeBSD a better choice for threads/tasking? Mike Silva
2001-03-30  7:14 ` Christopher Green
2001-03-30  9:55   ` Hans-Olof Danielsson
2001-03-30 12:28   ` David C. Hoos, Sr.
2001-03-30 20:35 ` Stefan Skoglund
2001-04-01  7:03   ` Arthur H. Gold
2001-04-01 16:53   ` Patrick TJ McPhee
2001-04-03 12:08     ` Florian Weimer
2001-04-03 18:25       ` Arthur H. Gold
2001-04-03 18:41         ` David Schwartz
2001-04-03 19:41           ` Florian Weimer
2001-04-04  7:28           ` igor
2001-04-04  3:22       ` Patrick TJ McPhee
2001-04-01 19:41 ` David Schwartz
2001-04-01 19:57   ` Dima Volodin
2001-04-02  1:26     ` David Schwartz
2001-04-02 17:39       ` Dima Volodin
2001-04-03 11:36         ` Matthias Kretschmer
2001-04-03 11:40           ` Matthias Kretschmer [this message]
2001-04-02 16:17     ` Sander Pilon
     [not found]       ` <3AC8B9DD.134B6562@dvv.org>
2001-04-02 19:21         ` Marin David Condic
     [not found]           ` <3AC8DDA0.D4DF412B@dvv.org>
2001-04-03 20:48             ` Dima Volodin
     [not found]             ` <x7v66gn2gfy.fsf@smaug.pushface.org>
2001-04-03 20:55               ` Dima Volodin
2001-04-10  6:32                 ` Simon Wright
2001-04-02 21:41         ` Sander Pilon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox