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

Re: Debian installation



On Sat, May 24, 2003 at 05:07:03PM +0200, Wim De Smet wrote:
> On Sat, 24 May 2003 16:37:27 +0200
> Frank Gevaerts <frank@gevaerts.be> wrote:
> > On Fri, May 23, 2003 at 12:05:17PM -0500, Jesse Meyer wrote:
> > > On Fri, 23 May 2003, Paul Johnson wrote:
> > > > On Wed, May 21, 2003 at 11:48:52PM +0100, Clive Menzies wrote:
> > > > > Try something like
> > > > > 
> > > > > swap   (size of your ram) 
> > > > > swap 	(size of your ram)
> > > > 
> > > > Actually, given the advances in kernel technology, this is more of
> > > > a minimum than a hard value.  And you only need one.  Go with
> > > > *way* more than you think you'll ever need, nothing sucks more
> > > > than not having enough address space.
> > > > 
> > > > Myself?  I go with a gig.
> > > 
> > > I'm tempted to, with my next machine, go with 1 GB - 1.5 GB of
> > > memory, and avoid a dedicated swap partition all together.
> > > 
> > > In the odd event that I require more then 1.5 GB of memory for a
> > > certain task, there is always the swap *file* option.  ('man mkswap
> > > ; man swapon' )
> > > 
> > > Speaking of which, for those of you with over 1 GB of memory out
> > > there, what apps cause you to hit the swap partition?
> > 
> > I have 1.5 GB of RAM on my desktop, and I don't really remember when I
> > last needed swap. I have a 2GB swap partition just in case.
> > The nice thing about this amount of RAM is that you can use ramfs to
> > work with cd images. I never have buffer underruns this way.
> > 
> 
> How does that work? Just curious :-)
> You first load cd's into ram before you burn them or something?

basiclly, yes

mkdir /tmp/ram
mount none /tmp/ram -t ramfs
mkdir /tmp/ram/cd_content
<put stuff in /tmp/ram/cd_content>
mkisofs /tmp/ram/cd_content -o /tmp/ram/cd.iso 
  (mkisofs command line is probably not correct)
cdrecord <options> /tmp/ram/cd.iso

Note that at this point, free ram is down to 150..250 MB

This trick is also nice when working with other large files.

Frank

> 
> mvg,
> Wim
> 
> 
> -- 
> Only two things are infinite: human stupidity and the universe, and I'm
> not sure about the latter. -- Albert Einstein
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: