Results 1 to 2 of 2

Thread: Memory Problem running UML/MLN [SOLVED]

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Location
    Sweden,Uppsala
    Posts
    3

    Memory Problem running UML/MLN [SOLVED]

    Hi

    As part of a project I'm doing in school we have been remastering KNOPPIX and installing MLN (My Linux Network, mln.sourceforge.net). The goal is to create a virtual lab environment on a bootable CD for students to experiment with and do assignments in.
    We have UML and MLN running in a slightly stripped down version of Knoppix 3.8 and we've created some projects in MLN for the different assignments. Everything is working fine as long as KNOPPIX is running from harddrive in uncompressed state, but when we compress and compile into a cd image memory usage explodes and everything crashes.

    The MLN projects are using a small kernel of just a few MB and a filesystem template of 165MB. Projects consist of up to 5 virtual machines using COW (copy on write) to limit disk usage. The different projects use the same COW-master image through symlinks. When we're running the projects from a decompressed system on harddrive (using the UKUUG knoppix-remaster script) top shows a memory usage of about 256MB. When running the compiled version either from iso on harddrive or from my cd on my system (512MB ram and 1GB swap-space) the VM's crash about halfway through the booting process.

    We're completely stuck as to what is causing this huge memory usage, we managed to get the project running on a computer with 2GB ram but even then top showed a memory usage of about 1.9GB which just seems completely insane.

    If anyone has any ideas as to what might be the problem we'd be very happy if you could post here or email me.

    Best regards
    Sven Westergren
    sven westergren at gmail com.

  2. #2
    Junior Member
    Join Date
    Aug 2005
    Location
    Sweden,Uppsala
    Posts
    3
    Just thought I'd let you know that we managed to solve the problem.
    The culprit was the cow-files which at a glance (e.g. using ls) appear to be the same size as the filesystem template while they are really quite small (du shows a few MB each).
    However, when compressed, placed on the cd and then decompressed when the system boots the blow up to be the actual full size and so running 4-5 virtual machines causes Knoppix to load 4-5 times 165MB into ram even though they only contain a few MB of data each.
    We solved it by building the projects "live", thus the cow-files are created onto the ramdisk and are never compressed or decompressed. Result is a longer startup time but still completely acceptable.

    Sven Westergren

Similar Threads

  1. (solved) Experience with Printing while Running Live CD/DVD?
    By the_idealist100 in forum Hardware & Booting
    Replies: 0
    Last Post: 08-11-2008, 08:56 PM
  2. usb memory key problem
    By stevlev in forum Hardware & Booting
    Replies: 2
    Last Post: 07-27-2005, 10:44 PM
  3. Running on lower memory ??
    By bhavin in forum Customising & Remastering
    Replies: 6
    Last Post: 06-11-2004, 11:47 AM
  4. Problem using USB memory stick
    By hgpuke in forum General Support
    Replies: 2
    Last Post: 01-07-2004, 10:42 PM
  5. Memory problem on reboot
    By Dickey Peterson in forum General Support
    Replies: 3
    Last Post: 01-09-2003, 06:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1TB Samsung 840 EVO Internal 2.5

1TB Samsung 840 EVO Internal 2.5" SATA III SSD MZ7TE1T0HMHP Solid State Drive

$69.83



Samsung 480GB SM843T SSD 2.5 SATA Solid State Drive VK0480GECQP MZ-7WD480N/0H3 picture

Samsung 480GB SM843T SSD 2.5 SATA Solid State Drive VK0480GECQP MZ-7WD480N/0H3

$47.52



SM883 HXM7404Q 2.5 Samsung 960GB SATA6.0Gbps MZ7KH960HAJR-00005 MZ-7KH9600 SSD picture

SM883 HXM7404Q 2.5 Samsung 960GB SATA6.0Gbps MZ7KH960HAJR-00005 MZ-7KH9600 SSD

$95.00



HPGYT DELL Micron 5100 PRO 960GB SATA 6Gb/s 2.5in SSD 0HPGYT MTFDDAK960TCB Gen14 picture

HPGYT DELL Micron 5100 PRO 960GB SATA 6Gb/s 2.5in SSD 0HPGYT MTFDDAK960TCB Gen14

$69.00



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Micron 5100 MAX 120GB SATA 6Gb/s 2.5

Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State

$9.89



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$13.99



M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11 picture

M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11

$85.25



1.92TB SSD SATA 2.5 SAMSUNG MZ-7LM1T90 PM863 MZ7LM1T9HCJM Tested 93%+ picture

1.92TB SSD SATA 2.5 SAMSUNG MZ-7LM1T90 PM863 MZ7LM1T9HCJM Tested 93%+

$46.03