LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-16-2010, 07:35 AM   #1
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Toram or not Toram...and the Memory remains the same....?!


LOL

So I made a neat little fluxbox distro(another one?)
actually its the latest incarnation of 503box

anyway; with Debian Live (which its made from)
one of the boot parameters is

http://multidistro.com/deb/rezcu/parameters.txt

boot in TORAM mode, as you see there above link..

Specifically I used

Code:
toram=filesystem.squashfs
which isnt listed but actually works better
as it only boots the compressed fs into RAM

using just "toram" the whole cd/iso,etc is booted into RAM


Anyway; so for some reason the memory usages
are about the same no matter whether booting toram
or not?!
wtf?

Heres Proof; using "free"

Environs-
at each boot I am booting off 2GB fat32 usb
on a Desktop PC.

Heres Debian's default live boot not toram, no persistent (usb mounted)

http://multidistro.com/deb/503new/mem/default.png

so it using about 80MB RAM?

Heres in toram/no persistent mode(no drives mounted...usb/cd removable)
http://multidistro.com/deb/503new/mem/toram.png

wtf?!

how that be red?

LOL

the squashfs filesystem is 340MB shot into ram
so why isnt the mem usage higher?

heres some more pics- note that all the mem usage is about the same..

no toram, persistent usb both usb partitions mounted
http://multidistro.com/deb/503new/me...persistent.png

toram, persistent usb only persistent partition is mounted (sda2)
http://multidistro.com/deb/503new/me...persistent.png

at boot it gives message when using toram mode
Code:
mount -t tmpfs -o 343632k /dev/shm /live/image_swap

so is that weird or is it supposed to be that way?

Maybe I'm reading FREE wrong?
I always do....

Last edited by linus72; 01-16-2010 at 07:37 AM.
 
Old 01-16-2010, 09:30 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
mem usage is higher, you have 263MB more in filesystem cache.
 
Old 01-16-2010, 09:31 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Yeah I saw that
mmm
I always read that damn free thing wrong
LOL
thanks

OH, so much ram is being consumed in default notoram mode?
80mb?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resolution remains Rita G. Debian 5 04-23-2008 12:28 PM
<400MB livecd with k3b, toram & ntfs read Ikluh Linux - Distributions 1 09-30-2006 01:11 PM
Ram Disks or toram boot Bennoo Linux - General 2 03-31-2005 11:22 PM
"DSL toram" does not work dsl-0.9.1.iso slot junky DamnSmallLinux 2 02-23-2005 10:31 AM
how much free ram remains nakkaya Linux - General 1 02-05-2003 05:44 PM


All times are GMT -5. The time now is 04:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration