Skip to contentSkip to conversation

Memory Allocation Problem

DISCUSSION Jeff Clark 2 participants 3 messages Mar 31, 2004 – Apr 1, 2004

lore
Share & tools
lore

Jeff Clark

author
#0 lore raw

Using the latest cvs tarball I am able to create and start domains, but when I stop and/or destroy the domain the memory is never freed. After stopping and starting my "test" domain a few times, I get an "Operation not permitted" message. After running xc_physinfo.py I see that my available memory is exhausted (even though I only have dom0 running with 256mb allocated and there is 512mb in the machine).

Also, any pointers for porting the gdth (raid) scsi driver? I've figured out the obvious (rip out all the proc related stuff), but I'm a bit lost when it comes to the wait stuff.

-Jeff

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 7 lines

Using the latest cvs tarball I am able to create and start domains, but when I stop and/or destroy the domain the memory is never freed. After stopping and starting my "test" domain a few times, I get an "Operation not permitted" message. After running xc_physinfo.py I see that my available memory is exhausted (even though I only have dom0 running with 256mb allocated and there is 512mb in the machine).

Hmmm... yes I see this too. Any idea when it broke? Would it have been one of yesterday's checkins?

Quoted 3 lines

Also, any pointers for porting the gdth (raid) scsi driver? I've figured out the obvious (rip out all the proc related stuff), but I'm a bit lost when it comes to the wait stuff.

We've tended to replace wait/completion stuff with spinning on a flag. There are a few examples dotted around the SCSI code in Xen. If you can wait a few weeks then the new IO world will be complete enough for general use -- then you can use Linux drivers directly.

-- Keir

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#2 lore raw
Quoted 7 lines
Quoted 7 lines

Using the latest cvs tarball I am able to create and start domains, but when I stop and/or destroy the domain the memory is never freed. After stopping and starting my "test" domain a few times, I get an "Operation not permitted" message. After running xc_physinfo.py I see that my available memory is exhausted (even though I only have dom0 running with 256mb allocated and there is 512mb in the machine).

This bug is now fixed.

-- Keir

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click