Whoops, missed the list of our further discussions.
Of course, use TUNTAP, not ethertap.. i got them mixed up.
----- Original Message -----
From: "Simon Newton" <simon@...>
To: "Primero" <primero@...>;
<user-mode-linux-user@...>
Sent: Thursday, April 22, 2004 1:40 PM
Subject: Re: [uml-user] Performance problem
> Primero,
> Hi there.
> I had the same problem with pings. Make sure you use the ethertap driver,
> not a tun/tap driver. Heres my startup command:
>
> linux ubd0=root_fs ubd1=swap eth0=tuntap,,,192.168.1.10 mem=128M
>
> This solved my time-between ping problem.
>
> Also, make sure /tmp is mounted as 'tmpfs' in your /etc/fstab on the host.
> heres how mine looks:
>
> --snip
> /dev/hda2 swap swap defaults 0
0
> tmpfs /tmp tmpfs defaults,size=512M
0
> 0
> --snip
>
> The UML will write to an unlinked file in /tmp/ on the host - this is the
> UML memory. It will then touch 'real' host memory as it is needed.
> Of course, if /tmp is not mounted on the host as 'tmpfs' (ramdisk, which
can
> be swapped out), you are effectively swapping to disk on each UML memory
> read/write - this can cause severe slowness, though sometimes can be not
so
> bad on fast hard drives. I made the mistake of not doing this initially
and
> found that every time i reloaded or loaded software it would hang and
think
> for a while.
>
> I dont know if SKAS will work on your host/uml kernel combo, but I would
> *highly* recommend giving it a try. It gave me a massive performance
> increase when I switched.
>
> Good luck!
>
>
> Kind Regards,
>
> Simon Newton,
>
> ---
> ----- Original Message -----
> From: "Primero" <primero@...>
> To: <user-mode-linux-user@...>
> Sent: Thursday, April 22, 2004 12:22 PM
> Subject: [uml-user] Performance problem
>
> Hi all, yesterday night i've started for the first time UML on my
> notebook .... and .... Cool :))
>
> I've compiled a Guest 2.6.3 kernel to be run on a 2.6.5 host kernel
> without SKAS patch.
> Downloaded a slackware 8.1fs just to try it out , configured the network
> with TAP and started . Well, it works but i'm experiencing some problems
> with performance.
>
> The system is very slow , it scroll slowly, when i type a command the
> letters appears on the screen one by one and ... incredible , if i try
> to ping either the Host or the localhost there are about 10 seconds
> beetween each ping!
>
> Now i'm compiling a 2.6.6-rc2 kernel for the host with skas patch hoping
> that this is the solution.
>
> Anyone know something about this?
>
> tia
>
> Primero
>
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@...
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>
>
|