From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20558 invoked from network); 5 Aug 1998 13:57:50 -0000 Received: from winnie.fit.edu (163.118.5.1) by mail2.redhat.com with SMTP; 5 Aug 1998 13:57:50 -0000 Received: from ee.fit.edu (yacht.ee.fit.edu [163.118.30.1]) by winnie.fit.edu (8.8.7/8.8.7) with SMTP id JAA29543 for ; Wed, 5 Aug 1998 09:52:14 -0400 (EDT) Received: from localhost by ee.fit.edu (SMI-8.6/SMI-SVR4) id JAA07613; Wed, 5 Aug 1998 09:55:56 -0400 Date: Wed, 5 Aug 1998 09:55:55 -0400 (EDT) From: Christopher Curtis To: axp-list@redhat.com Subject: Re: SHMMAX (was Re: using cdrecord) In-Reply-To: <35C530F6.42C35B8B@paralleldata.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 3 Aug 1998, Wes Bauske wrote: > attach is up to you. Richard's answer explains the real > issue on Alpha. Not being pagable and being able to make > a big SHM segment would cause major problems. It sounded to me like it was a Linux problem, not Alpha specifically. Either way, doesn't really matter, but still seems needlessly low. > SHM segments are very useful on an SMP where you want > to do parallel processing. It's faster than a pipe I guess so, but I was making the case that this could also be done (perhaps more properly?) using threads now. > because a pipe copies to kernel land and back and > SHM is directly in your memory space so there's > only one copy to it and the next process can get it. Shared memory is typically a file, is it not? > Your machine actually swaps while running?? Right now it's actually using 27MB of swap. I never mentioned, but we're not high-end into Alpha. We bought a UDB because I wanted a cheap system to make sure my code was 64-bit clean. Ended up being a nice little machine that is now used as a PDC for the other unixen and PCs, as well as a web server, and now backup and CD-ROM burning server. ;-) The box has a total of 40MB of RAM and performance is quite respectable. I try not to compile things too often though. > That's bad news. I'd try to make sure that for the > workload I put on the machine, it has sufficient > real memory and pretty much never swap. Memory > is so cheap now. Well, as I said, no performance problems yet ... > Humm... I just ran a test with 1MB + 2 bytes and it > fails with "Unable to create shm segment (Invalid argument)". Okay. You win. ;-) > There is supposed to be a way to set it but I can't > find it in my book at the moment. I couldn't find any info either, else I wouldn't haev said that. :) rgds, -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/