* SHMMAX: can it do any harm to rise the value?
@ 2000-02-03 5:00 Eberhard Burr
2000-02-03 5:00 ` Serguei Patchkovskii
2000-02-04 5:00 ` Michal Jaegermann
0 siblings, 2 replies; 4+ messages in thread
From: Eberhard Burr @ 2000-02-03 5:00 UTC (permalink / raw)
Hello everyone,
I've just successfully installed a CD burner into my SX164 and burned
my first audio disk with cdrdao. Trying to use xcdroast, I found that
cdwrite won't work because it asks the kernel for 4MB of shared memory
and the max size is defined to be slightly less. After changing the
#define in /include/asm-alpha/shmparam.h and recompiling the kernel,
it appears to work nicely, though.
My question is: can said change have any ill side effects? The system
is up and running, but I haven't done much with it yet. If changing
SHMMAX doesn't do any harm, then why is it lower on alpha than on
i386?
My System is: SX164, 128MB, NCR810 with 2 disks, CD burner, tape;
Debian slink with some self-compiled goodies from potato...
kind Regards,
--
Eberhard Burr PGP key ID: DAF93D11 fingerprint: 1D 0B F9 53 E1 CA 21 1A
91 55 DB C8 1F 4C 0C B6
I put up my thumb... and it blotted out the planet Earth.
-- Neil Armstrong
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SHMMAX: can it do any harm to rise the value?
2000-02-03 5:00 SHMMAX: can it do any harm to rise the value? Eberhard Burr
@ 2000-02-03 5:00 ` Serguei Patchkovskii
2000-02-04 5:00 ` Michal Jaegermann
1 sibling, 0 replies; 4+ messages in thread
From: Serguei Patchkovskii @ 2000-02-03 5:00 UTC (permalink / raw)
Eberhard Burr (Eberhard.Burr@gmx.de) wrote:
: my first audio disk with cdrdao. Trying to use xcdroast, I found that
: cdwrite won't work because it asks the kernel for 4MB of shared memory
you mean cdrecord, not cdwrite
: My question is: can said change have any ill side effects?
No.
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SHMMAX: can it do any harm to rise the value?
2000-02-03 5:00 SHMMAX: can it do any harm to rise the value? Eberhard Burr
2000-02-03 5:00 ` Serguei Patchkovskii
@ 2000-02-04 5:00 ` Michal Jaegermann
2000-02-04 5:00 ` Eberhard Burr
1 sibling, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 2000-02-04 5:00 UTC (permalink / raw)
Eberhard Burr (Eberhard.Burr@gmx.de) wrote:
: my first audio disk with cdrdao. Trying to use xcdroast, I found that
: cdwrite won't work because it asks the kernel for 4MB of shared memory
: and the max size is defined to be slightly less.
Actually it is defined as 4MB but there is a small overhead. OTOH
cdrecord (not cdwrite) works just dandy with a fifo size set to slightly
smaller 4000k, instead of a default 4M, and there are described in
documentation flags and environment variables which allow you to do just
that.
: After changing the
: #define in /include/asm-alpha/shmparam.h and recompiling the kernel,
: it appears to work nicely, though.
You work too hard. It works equally nicely without recompiling your
kernel. Besides with 2.2 kernels you can change this amount of shared
memory by writing, with 'echo', a required value to
/proc/sys/kernel/shmmax.
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SHMMAX: can it do any harm to rise the value?
2000-02-04 5:00 ` Michal Jaegermann
@ 2000-02-04 5:00 ` Eberhard Burr
0 siblings, 0 replies; 4+ messages in thread
From: Eberhard Burr @ 2000-02-04 5:00 UTC (permalink / raw)
michal@gortel.phys.ualberta.ca (Michal Jaegermann) writes:
> : After changing the
> : #define in /include/asm-alpha/shmparam.h and recompiling the kernel,
> : it appears to work nicely, though.
> You work too hard. It works equally nicely without recompiling your
> kernel. Besides with 2.2 kernels you can change this amount of shared
> memory by writing, with 'echo', a required value to
> /proc/sys/kernel/shmmax.
I was not aware of that being configurable at run-time (did I forget
to mention, I'm running 2.2.14?)... anyway: I just was curious about
the default value being 0x3fa000 for alpha while it's 0x1000000 on
Intel. I thought this odd value might be chosen for non-obvious
reasons.
Thanks for confirming that it harmless to change it.
Kind Regards,
--
Eberhard Burr PGP key ID: DAF93D11 fingerprint: 1D 0B F9 53 E1 CA 21 1A
91 55 DB C8 1F 4C 0C B6
Did I SELL OUT yet??
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-02-04 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-03 5:00 SHMMAX: can it do any harm to rise the value? Eberhard Burr
2000-02-03 5:00 ` Serguei Patchkovskii
2000-02-04 5:00 ` Michal Jaegermann
2000-02-04 5:00 ` Eberhard Burr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox