[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [linrad] More stuff.....




The list of what you _don't_ need is quite long and includs stuff that
you may not have installed on your system.  I doubt anyone would
ever have time to list the stuff you _don't_ need.  Better to make
a list of what _is_ needed and shut down anything not on that list.

to get a list of what is running try "ps -alx" or something like
that.  See "man ps".

The scheduler in Linux works against you.  It preferentially gives
CPU time to processes that are not "CPU hogs".  The goal is to make
the system seem more responsive to an interactive user.  Large
compute jobs are in effect run in the background with the CPU
wrking on the light weigh stuff first.  As root you can adjust this
and make Linrad run at a higher priority.  (See the man page for
"nice". Hint: try typing "which nice" to see if the man page aplies.)
BUt this opens a can of worms.  Beter to just not run the stuff
you don't need.  That said, My interest in not EME and required
just about everything running on a few computers.


The best thing to do is to use "chkconfig" to tailor a run level
that is good for running Linrad.  Don't mess up a run level needed
for other work.  I think 6 would work.  Then before you run Linrad
you (as root) would do an "init 6" which would shut down so system
processes and start Linrad.  Later you would switch back using
"init 5" or "init 3".

Look at the scripts in /etc/.../rc3.d  (Sorry I forgot what Linux
puts in "..." I'm on a Solaris system now.)

WHat you type "init N" the system runs every script in /etc/.../rcN.d
that looks like SnnXXX where nn is a number.
These scripts accept at least two parameters "start" and "stop".
You could make one called "S99linrad".  Just copy and existing script
and cut and past it as required.

One more detail.  Those files in /etc/.../rcN.d are realy links.
This is so that you can delete them without really loosing them in
case you need to put them back.  chkconfig takes advantage of this.

Clear?

--- Conrad G0RUZ <conrad@xxxxxxxxx> wrote:
> Josh I did it and put in the mixer settings as well, thanks it's
> really easy
> when you know how!
> 
> Now we need someone to decide what needs to be running at boot up to
> run
> Linrad. I have found out how to disable some things by typing
> chkconfig --level 0123456 <scriptname> off. That switches off the
> process
> for all run levels, if you want a process to run in Xwindows you
> would just
> omit the 5. It would be useful to determine a list of what is not
> needed to
> run Linrad. Also I would like to know how to get a list of all
> running
> processes in text mode. I am beginning to see how clever these
> operating
> systems really are!
> 
> 73
> 
> Conrad G0RUZ
> 
> -----Original Message-----
> From: owner-linrad@xxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-linrad@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> josh-linrad@xxxxxxxxxxxx
> Sent: 08 January 2003 21:36
> To: linrad@xxxxxxxxxxxxxxxxxxxxx
> Cc: linrad
> Subject: Re: [linrad] More stuff and how to call svgalib_helper
> 
> 
> 
> Batch file linrad_start
> 
> %<-- %<-- %<--  %<-- %<-- %<--  %<-- %<-- %<--  %<-- %<-- %<--
> #!/bin/bash
> 
> insmod
> /usr/local/src/svgalib-1.9.17/kernel/svgalib_helper/svgalib_helper.o
> 
> ./linrad
> %<-- %<-- %<--  %<-- %<-- %<--  %<-- %<-- %<--  %<-- %<-- %<--
> 
> chmod +x linrad_start
> 
> ./linrad_start
> 
> 
> 
> I don't know which mixer you are using but most have command based
> tools
> that you can use as well.  You can just put that in the linrad_start
> file
> after the insmod, but befor ./linrad
> 
> 						Later, JOSH
> 
> 
> On Wed, 8 Jan 2003, Conrad G0RUZ wrote:
> 
> > I have 3 new installations running with a Rage Mach 64, Rage 128
> and TNT2
> > video cards. All work well and the last 2 pass Leifs demanding
> 200Hz
> setting
> > with an N=4 window. It is quite amusing with the waterfall average
> at 1.
> At
> > 400Hz I need a waterfall average of 2 to get glitch free
> performance. The
> > AFC graph is very amusing :-) I have used svgalib-1.9.17. There is
> still a
> > problem. So that I don't get the message svgalib can' open dev/svga
> I have
> > to descend into /usr/local/src/svgalib-1.9.17/kernel/svgalib_helper
> and
> type
> > insmod svgalib_helper.o.
> >
> > How can I make sure that this happens either everytime that svgalib
> is
> > called (by Linrad) or when Linux boots. I did it before but I can't
> remember
> > how to make boot-up scripts that will run at automatically. I also
> need to
> > know how to ensure only the bare minimum needed processes run at
> boot up.
> I
> > ran Linrad on the P4 1.4 Ghz machine for 30 minutes at 4 channels
> of 32
> bit
> > 96 khz and got 10 overrun errors, Roger w3sz has suggested that the
> > unnessary processes that are running are probably responsible. How
> does
> > memory affect performance? I only have 256Mb of Rambus memory in
> the P4
> but
> > I have 1Gb in the Athlon 850. The Athlon 850 does very well indeed
> and I
> > think it would be more than adequate in practice. The P3 450 is
> only just
> > adequate but would be ok with a 48Khz sample rate.
> >
> >
> > Please remind me as I need to make some linux (batch?) files for my
> mixer
> > settings as well.
> >
> > I have found the last few days very rewarding in many ways and
> almost as
> > interesting as working people on eme. I have ordered my WSE RX2500
> as a
> > result and I am really looking forward to getting back on, weather
> and
> time
> > permitting.
> >
> > 73
> >
> > Conrad G0RUZ
> >
> >
> >
> 
> 
> 


=====
Chris Albertson
  Home:   310-376-1029  chrisalbertson90278@xxxxxxxxx
  Cell:   310-990-7550
  Office: 310-336-5189  Christopher.J.Albertson@xxxxxxxx
  KG6OMK

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
LINRADDARNIL