Re: Determining CPU features / cache organization from userland

2003-10-12 Thread Bruce M Simpson
All, I came up with the attached text file today to summarize some of my findings, after looking at various open source trees to see how they handle run-time cache geometry detection. Many will find it ironic that i386 is the easiest platform to deal with. [ Andrew: Perhaps you can shed some lig

Re: real vs. avail memory

2003-10-12 Thread Dag-Erling Smørgrav
Warren Block <[EMAIL PROTECTED]> writes: > On Sun, 12 Oct 2003, Dag-Erling [iso-8859-1] Smørgrav wrote: > > That's a full 40 MB difference... where does that memory go? is it > > used for page maps or something like that? > 34M, as I figure it. Is this an Intel motherboard, or other motherboard

return-rst does not work for ipv6 in ipfilter

2003-10-12 Thread Andrew Konstantinov
Hi guys, The 'return-rst' option in ipfilter does not work for ipv6. I sent a problem report and just in case decided to send this patch here too. That option saves a lot of headache and it would be very nice to have it work properly. The patch was originally written by Peter Postma. I edited it

Re: md5(1) exit code

2003-10-12 Thread Stefan Eßer
On 2003-10-12 16:50 +0100, Colin Percival <[EMAIL PROTECTED]> wrote: > Or rather, lack thereof. I was rather astonished to find that `md5 > /nonexistant` printed an error message but still returned an exit code of > zero; this is, of course, due to the use of warn() instead of err() in > resp

md5(1) exit code

2003-10-12 Thread Colin Percival
Or rather, lack thereof. I was rather astonished to find that `md5 /nonexistant` printed an error message but still returned an exit code of zero; this is, of course, due to the use of warn() instead of err() in response to a receiving a NULL pointer returned from MD5File(3). Is there any r

Re: smallest piece of hardware that runs *BSD?

2003-10-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Dag-Erling Smørgrav) writes: : Bernd Walter <[EMAIL PROTECTED]> writes: : > On Sat, Oct 11, 2003 at 03:06:18PM +1000, John Birrell wrote: : > > Here's one the size of a credit card: . : > > It's a

Re: real vs. avail memory

2003-10-12 Thread Warren Block
On Sun, 12 Oct 2003, Dag-Erling [iso-8859-1] Smørgrav wrote: > dmesg on a new P4 system: > > real memory = 1073676288 (1023 MB) > avail memory = 1037799424 (989 MB) > > That's a full 40 MB difference... where does that memory go? is it > used for page maps or something like that? 34M, as I fig

real vs. avail memory

2003-10-12 Thread Dag-Erling Smørgrav
I've gotten used to the fact that there is a small discrepancy between real and available memory, but I was surprised to see the following in dmesg on a new P4 system: real memory = 1073676288 (1023 MB) avail memory = 1037799424 (989 MB) That's a full 40 MB difference... where does that memory

Re: smallest piece of hardware that runs *BSD?

2003-10-12 Thread Bernd Walter
On Sun, Oct 12, 2003 at 01:19:44PM +0200, Dag-Erling Smørgrav wrote: > Bernd Walter <[EMAIL PROTECTED]> writes: > > On Sat, Oct 11, 2003 at 03:06:18PM +1000, John Birrell wrote: > > > Here's one the size of a credit card: . > > > It's a lot bigger than a 'bump

Re: smallest piece of hardware that runs *BSD?

2003-10-12 Thread Dag-Erling Smørgrav
Bernd Walter <[EMAIL PROTECTED]> writes: > On Sat, Oct 11, 2003 at 03:06:18PM +1000, John Birrell wrote: > > Here's one the size of a credit card: . > > It's a lot bigger than a 'bump in a cable', but it runs FreeBSD. > Leaves the question how much of the data