From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: Re: SHMMAX (was Re: using cdrecord)
Date: Tue, 4 Aug 1998 23:19:35 -0400 (EDT) [thread overview]
Message-ID: <Pine.GSO.3.96.980804225958.8059b-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <35C52583.7C0F305F@paralleldata.com>
On Mon, 3 Aug 1998, Wes Bauske wrote:
> It depends on how the system works. A SHM segment takes up
> one of 16 256MB segments on older RS/6000 systems that you can't
Well, that doesn't really have anything to do with the current problem.
Unless you're saying that 256MB segments are the drawback. If you're
talking about the 16 slots, then making the segment size too small would
use more slots than needed. If it's just a matter of divvying up 4GB of
address space, I'm sure there has to be a better medium than 16 slots of
256MB or 1024 slots of just under 4 MB.
> use for other memory so if you use several SHM segments, you
> can decrease your available memory within the process significantly.
> Anyone know if Alpha's do something similar??
How often is shared memory really needed? This strikes me as being
something needed primarily for pre-threaded apps. I'm not saying it's
useless, but I think that there is little demand for it in general and
that demand is not increasing. I think it's a relatively low-demand type
of thing. UNIXen are primarily dealing with pipes, not shm...
> Actually, couldn't you make a small mod to cdrecord to
> do some minor searching to figure out how much SHM it
> can get?? Then, if it didn't get the optimal amount, issue
> a warning and proceed with the less optimal amount.
> A simple start at 4MB and decrement by 4KB until it
> works would be sufficient...
>
> That way, there is less user intervention until one
> creates a coaster...
Well, it'll all be handled over the web so the actual parameters are going
to be hard coded anyway. It's no biggie, but I would think that it would
be a bigger general problem. X uses shared memory, as does the GIMP
(though I don't know how the two use it in concert if at all). What this
is used for I don't know, but I would gladly give up 512 or 768 shared
memory segments in leiu of a larger maximum shared memory pool.
> At $.99 a blank CD now, it's not too painful to screw
> up but I've never had a buffer underrun with cdrecord.
It's not so easy to happen unintentionally often. I was writing at 4x
while flipping back and forth in windowmaker and loading the GIMP trying
to make it swap as much as possible without renice'ing the cdrecord
processes. There were 29 underruns in total out of 22,000+ sectors
(336,000+ blocks). Under normal load this should be rare. This was also
a 2MB buffer, not the 3MB I've set it at now.
> From what I remember, the default Solaris 2.5 SHM max
> is only 1MB so 4MB isn't that bad.
I find that difficult to believe. It's probably 4MB. =)
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
next prev parent reply other threads:[~1998-08-05 3:21 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 [this message]
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
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