Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: Re: SHMMAX (was Re: using cdrecord)
Date: Wed, 5 Aug 1998 09:55:55 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.3.96.980805094513.8059f-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <35C530F6.42C35B8B@paralleldata.com>

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/


  parent reply	other threads:[~1998-08-05 13:57 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04 16:20 using cdrecord Christopher Curtis
1998-08-04 16:26 ` Nils Faerber
1998-08-04 16:33   ` Christopher Curtis
1998-08-05  2:03     ` David G. Koontz
1998-08-05  2:19       ` SHMMAX (was Re: using cdrecord) Christopher Curtis
1998-08-03  2:50         ` Wes Bauske
1998-08-05  3:19           ` Christopher Curtis
1998-08-03  3:39             ` Wes Bauske
1998-08-05  9:36               ` Quant-X Alpha Linux Support
1998-08-05 19:52                 ` Wes Bauske
1998-08-05 13:55               ` Christopher Curtis [this message]
1998-08-05 15:48                 ` SHMMAX (offtopic) David Champion
1998-08-05 19:42                 ` SHMMAX (was Re: using cdrecord) Wes Bauske
1998-08-08 20:20               ` Richard Henderson
1998-08-08 23:46                 ` Thomas Bogendoerfer
1998-08-09  1:25                   ` Richard Henderson
1998-08-05  5:22         ` Richard Henderson
1998-08-04 16:35   ` SHM (was " David Alan Gilbert
1998-08-04 17:08     ` Nils Faerber
1998-08-05 20:29       ` wade
1998-08-04 16:31 ` using cdrecord Maurice Hilarius
1998-08-04 16:43 ` Michal Jaegermann
1998-08-04 17:00   ` Christopher Curtis
1998-08-04 21:05     ` Michal Jaegermann
1998-08-04 21:14       ` Christopher Curtis
1998-08-03  3:17         ` Wes Bauske
1998-08-05  1:58           ` Christopher Curtis
1998-08-05  2:19             ` Maurice Hilarius
1998-08-05  2:28               ` Christopher Curtis
1998-08-05  4:50                 ` Michal Jaegermann
1998-08-05  9:41                   ` Quant-X Alpha Linux Support
1998-08-05  3:17             ` Quant-X Alpha Linux Support
1998-08-05  3:32               ` Christopher Curtis
1998-08-05  4:25                 ` Quant-X Alpha Linux Support
1998-08-05  2:15           ` Maurice Hilarius
read-only archive

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