Re: kernel activity

2004-03-15 Thread Peter Jeremy
On Mon, Mar 15, 2004 at 04:04:38PM +0100, Bogdan TARU wrote: > I'm running a pretty busy webserver, and right now I can see it's > CPU-bound: A few more details would be useful: What version of FreeBSD? What hardware are you using (CPU and NIC in particular)? What application(s) are you running?

How to write a new line discipline?

2004-03-15 Thread Daniel O'Connor
Hi, My company uses RS485 to talk to various pieces of hardware, and currently to do this we have a hacked up copy of sio which talks to a conventional RS485 card, while this works well it would be nicer to be able to use different 485 cards via the puc driver instead of having to use a custom d

Re: a serious error in sched_ule.c?

2004-03-15 Thread Peter Jeremy
On Sun, Mar 14, 2004 at 09:16:54PM -0800, Wes Peters wrote: >Sigh. Nobody really does compute-bound tasks anymore, do they? I really >miss "scientific programming." [EMAIL PROTECTED], the mersenne prime project, protein folding and the list goes on (the mersenne prime project web site includes a

Re: kernel activity

2004-03-15 Thread soralx
> I'm running a pretty busy webserver, and right now I can see it's > CPU-bound: > > %vmstat 1 > procs memory pagedisks faults cpu > r b w avmfre flt re pi po fr sr da0 ac0 in sy cs us sy > id 78 2 0 1135684 144648 93 0 0 0 248 82

Re: GCC optimization bugs -- still there or a historic artifact?

2004-03-15 Thread llewelly
"Paul Seniura" <[EMAIL PROTECTED]> writes: [snip] > And as for PPC, I've compiled things as high as -O5, > which is its limit I believe. ;) [snip] hm, no docs for -On, n > 3 at http://xrl.us/brh2 . Looking at the code: http://xrl.us/brh5 (search for 'optimize >= 3'), I don't see any evid

Re: GCC include files conundrum.

2004-03-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Mike Silbersack <[EMAIL PROTECTED]> writes: : using namespace STD; s/STD/std/g Warner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: GCC include files conundrum.

2004-03-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> David Gilbert <[EMAIL PROTECTED]> writes: : The C++ FAQ referred to by iostream (not iostream.h) seems to imply : that you should use iostream and sstream (no .h)... but including : those files imposes a very different standard that this port is not : rea

AMD64 running FreeBSD 5.2.1 benchmarked in 32 and 64bit mode

2004-03-15 Thread Miguel Mendez
Some of you might find this interesting: http://www.thejemreport.com/modules.php?op=modload&name=News&file=article&sid=117 Cheers, -- Miguel Mendez <[EMAIL PROTECTED]> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 signature.asc Description: This is a digitally sign

Re: GCC include files conundrum.

2004-03-15 Thread Dimitry Andric
On 2004-03-15 at 14:56:33 David Gilbert wrote: >> In your particular case, maybe you could add a copy of >> strstream.h as a patch to the port into the build directory >> and reference it as "strstream.h" instead of . >> Thus the system libstdc++ headers do not need to be polluted. > Finally a he

Re: GCC include files conundrum.

2004-03-15 Thread llewelly
[EMAIL PROTECTED] writes: [snip] > As far as 'being compatible' goes, there is a gcc 2.95.3 port > (/usr/ports/lang/gcc295), and if it is still being maintained, I > would suggest any port which doesn't build with gcc 3.3.x be > modified to be use and require that port, after emiting a

re: GCC optimization bugs -- still there or a historic artifact?

2004-03-15 Thread Paul Seniura
Hi, I was the one starting that question. ;) I'd like to mention what I've done and found so far. Please remember I can only vouch for the Puny Pentium2, since I have no other machine to use here on li'l-endian models. Also I can vouch for GCC-3.3x on my G4 at home, but it is a totally *totally*

Re: GCC include files conundrum.

2004-03-15 Thread llewelly
David Gilbert <[EMAIL PROTECTED]> writes: > > "Daniel" == Daniel Lang <[EMAIL PROTECTED]> writes: > > Daniel> Hi, David Gilbert wrote on Sun, Mar 14, 2004 at 08:55:24PM > Daniel> -0500: [..] > >> I'll ignore the condescending tone for a momment. It's worth > >> noting that everything works b

Re: GCC include files conundrum.

2004-03-15 Thread David O'Brien
On Sun, Mar 14, 2004 at 07:55:18PM -0500, David Gilbert wrote: > The error on bento comes down to bento not having strstream.h. I have > that file as: > > /usr/include/c++/3.3/backward/strstream.h > /usr/include/g++/backward/strstream.h > > on my -CURRENT (as of a week or two ago) laptop. > > b

Re: GCC include files conundrum.

2004-03-15 Thread Craig Rodrigues
On Mon, Mar 15, 2004 at 08:59:51AM -0600, Jacques A. Vidrine wrote: > FreeBSD stopped installing `strstream.h' in January. See rev 1.48 of > src/gnu/lib/libstdc++/Makefile. The commit log indicates it was removed > in (some release of) GCC 3.3. I wonder if this is correct though--- strstream.h

kernel activity

2004-03-15 Thread Bogdan TARU
Hi everyone, I'm running a pretty busy webserver, and right now I can see it's CPU-bound: %vmstat 1 procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr da0 ac0 in sy cs us sy id 78 2 0 1135684 144648 93 0 0

Re: GCC include files conundrum.

2004-03-15 Thread Jacques A. Vidrine
On Sun, Mar 14, 2004 at 07:55:18PM -0500, David Gilbert wrote: > I attempted to argue that audio/tclmidi wasn't broken... and the ports > maintainer fired back with > > http://bento.freebsd.org/errorlogs/i386-5-latest/tclmidi-3.1.log > > Now... I started investigating this and found that this was

Re: GCC include files conundrum.

2004-03-15 Thread David Gilbert
> "Daniel" == Daniel Lang <[EMAIL PROTECTED]> writes: Daniel> Hi, David Gilbert wrote on Sun, Mar 14, 2004 at 08:55:24PM Daniel> -0500: [..] >> I'll ignore the condescending tone for a momment. It's worth >> noting that everything works by simply having a copy of strstream.h >> in the backwar

Re: GCC include files conundrum.

2004-03-15 Thread Daniel Lang
Hi, David Gilbert wrote on Sun, Mar 14, 2004 at 08:55:24PM -0500: [..] > I'll ignore the condescending tone for a momment. It's worth noting > that everything works by simply having a copy of strstream.h in the > backward directory. Maybe the right path to take here is to include > that file muc

Re: a serious error in sched_ule.c?

2004-03-15 Thread Dag-Erling Smørgrav
Wes Peters <[EMAIL PROTECTED]> writes: > On Mon, 15 Mar 2004 07:42:59 + Colin Percival > <[EMAIL PROTECTED]> alleged: > > At 07:32 15/03/2004, Dag-Erling SmÃrgrav wrote: > > >Actually, my wife is a molecular biologist and eats CPU hours with > > >milk and sugar for breakfast. She expressed her