On Friday 25 November 2005 12:23, [EMAIL PROTECTED] wrote:
> Hi,
>
> first of all: thanks to Blaisorblade for the answer to my (stupid)
> devfs/device question some days ago. You're great!

> I'm experimenting more with UML and I'm quite lucky about it, I just came
> across severeal questions I'm really stuck with:

> First of all, I'ld like to improve swap performance or at least I would
> like to attach the swap space externally. The block file in the mounted
> ubd0 works well, but I always get e2fscks when trying to mount /dev/ubd1 as
> a swap partition.

e2fsck is for ext partition, so you surely have some mistake in 
your /etc/fstab - post it.

> Does anyone have a description of a working configuration 
> in this case? What I want is a kind of

> dd if=/dev/zero of=swap_fs bs=1k count=300k
> mkswap swap_fs
> ./linux ubd0=root_fs ubd1=swap_fs mem=35M con=pty con0=fd:0,fd:1

Should be right, but check major/minor of /dev/ubd1 (possibly you already 
corrected this).

> ... but that won't really work, as said before. The fstab entry as a swap
> device is set and I don't know any further.

Post that line.

> Second would be, how to mount a uml file system on a partition instead of a
> block device. Is it just using ubd0=/dev/hdc ? That can't be so simple, can
> it?

It is - just don't forget to give proper permissions to the uid UML is running 
under (no chmod 666 however, please, for your own sake - add that uid to the 
right group, normally "disk").

> I'm not using it, yet - but I wish to use a machine with a lot of ram if I
> succeed with UML. So: Could you, or someone else, give a short overview of
> Do's and Dont's regarding Performance with UML? Like

> Highmem Host: Don't - slow memory performance
> Highmem Client: Do - don't care

It's the reverse... a highmem UML kernel is awfully slow, a highmem host 
kernel is a tiny bit slower.

Also, UML can use up to 2,75G of memory if compiled with TT mode disabled and 
static linking enabled, even without HIGHMEM.

> Something like this?

I should take some time to write on the wiki, but not now - it's too late...

> I know this will cause a few minutes to write down - take my thankfulness
> for granted - but I think this will make life much easier for lots of
> newbies into UML.

> Thanks a lot in advance!

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to