You are not logged in.

#51 2009-02-16 18:08:16

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Running Arch Entirely in RAM!!??

/dev/md0:
        Version : 0.90
  Creation Time : Tue Feb 10 23:10:38 2009
     Raid Level : raid1
     Array Size : 971840 (949.22 MiB 995.16 MB)
  Used Dev Size : 971840 (949.22 MiB 995.16 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Mon Feb 16 19:03:38 2009
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : bfe54a7c:90a9441b:4e150285:707779cf
         Events : 0.1684

    Number   Major   Minor   RaidDevice State
       0       1        0        0      active sync   /dev/rd/0
       1       8        3        1      active sync writemostly   /dev/sda3

after some more hacking i got it working as expected (whole /usr is on /dev/sda3 now). i can't notice any performance improvement

Last edited by saten (2009-02-17 12:10:43)

Offline

#52 2009-02-19 10:33:27

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: Running Arch Entirely in RAM!!??

does the kernel actually know that all this stuff is actually already in ram and thus there is no need to load it into memory again, or does it still need to "load" it into memory to execute it?

cheers Barde

Offline

#53 2009-02-19 11:01:41

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Running Arch Entirely in RAM!!??

Heller_Barde wrote:

does the kernel actually know that all this stuff is actually already in ram and thus there is no need to load it into memory again, or does it still need to "load" it into memory to execute it?

cheers Barde

I don't know much about raid, especially in such an exotic configuration. i'm making the idea that if you have enough ram, when you first run something it will be cached in memory and so you won't get much improvement in speed with the raid solution.

Offline

#54 2009-02-20 10:37:19

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: Running Arch Entirely in RAM!!??

@saten:
the point of it would actually be that you don't have to run something to make it load faster afterwards. i rarely close my browser anyway. neither is it a time issue, since i usually just suspend my laptop to ram, it is merely a cosmetic thing, so when i run something i don't use much it loads fast too. i could of course just do "cat /usr/lib/* /lib/* /bin/* /usr/bin/* > /dev/null" but that seems hackish to me ^^ (and i like to tinker)

cheers Barde

Offline

#55 2009-02-20 10:59:16

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Running Arch Entirely in RAM!!??

Heller_Barde wrote:

@saten:
the point of it would actually be that you don't have to run something to make it load faster afterwards. i rarely close my browser anyway. neither is it a time issue, since i usually just suspend my laptop to ram, it is merely a cosmetic thing, so when i run something i don't use much it loads fast too. i could of course just do "cat /usr/lib/* /lib/* /bin/* /usr/bin/* > /dev/null" but that seems hackish to me ^^ (and i like to tinker)

cheers Barde

So if I can't get any performance improvement, why should I use free ram to mirror some disk i'll rarely use.

I'll test the raid thing on my desktop pc, to check if on the eee pc I see no difference because of the ssd speed in reading.

Offline

#56 2009-03-31 16:32:33

aport
Member
From: San Diego
Registered: 2008-02-20
Posts: 99

Re: Running Arch Entirely in RAM!!??

The downside to running the system in a ramdisk is that you're filling up your RAM with copies of files due to caching.

The way to do it is to run your whole FS in initramfs. I'm just wondering how to get persistent writes. Mini_fo to a storage partition perhaps. I'm not sure.

Offline

#57 2011-01-11 13:24:21

albabu
Member
Registered: 2010-11-30
Posts: 4

Re: Running Arch Entirely in RAM!!??

Archbang live have the option, i remember the option copy to ram. but i dont know anything else

Offline

#58 2011-01-11 14:03:14

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: Running Arch Entirely in RAM!!??

albabu wrote:

Archbang live have the option, i remember the option copy to ram. but i dont know anything else

Closing for necrobump. If you don't know anything, please don't post. And read the forum rules please.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB