From: Ferry T. <ft...@te...> - 2009-11-04 15:28:10
|
On your questions below: - I had 128MB RAM + 256MB swap file. Changed that to 200MB RAM + 256MB swap. No performance improvement. - Yes, X11 goes over TAP, SLiRP is disabled, I have a bridged (pcap) connection for all the other routes then to the windows host. - the hostname was not present in the /etc/hosts file, add that per your comment, no performance improvement Note once again: if I start xclock it starts within 0.5sec. If I start gedit it can take 5 - 10 sec. The real annoyance is with evolution, as switching from 1 mail folder to another, or from mail to calendar can take 5 - 10 seconds. Worse, click create a new e-mail button take 5 - 10 seconds for the new window to appear. It seems the problem is caused mainly on new window creations for/from a gnome application. My .conf file: ---- kernel=vmlinux cobd0=images\rootfs.img #cobd3=images\rootfs_.img cofs0=config cofs1=c:\ root=/dev/cobd0 ro initrd=initrd.gz mem=200 eth0=pcap-bridge,"LAN-verbinding",0A:C0:71:65:08:01 eth1=tuntap,"Pubuntu-TAP",0A:C0:71:65:08:00 exec0="C:\Program Files\Xming\Xming.exe :0 -notrayicon -ac -wm -clipboard -multiwindow -dpi 100 -xkblayout us -xkbmodel pc105" exec1=pulseaudio-0.9.6\pulseaudio.exe -- Ferry Toth <ft...@te...> -----Oorspronkelijke bericht----- Van: Henry Nestler <hen...@ar...> Aan: Ferry Toth <ft...@te...> Cc: col...@li... Onderwerp: Re: Slow response - CPU load low Datum: Wed, 28 Oct 2009 23:13:28 +0100 Nieuwsgroepen: gmane.linux.colinux.general Ferry Toth wrote: > I have got the latest colinux snapshot, Ubuntu jaunty up to date, > network connection with pcap and tap device (both 100Mbs), and bought > a license to XMIng. > > And all is working fine... except: > > Opening a window to a new program (evolution, gedit) is incredibly > slow. It can take like 10 seconds. However, starting xclock, no > problem within a second. > > Now, I can wait for an app to start, but with evolution switching from > mail to organizer to adres book is just as slow. > > Strangely: during the slowness the CPU load on the host is low, the > CPU load on the pubuntu is low, there is very little network traffic. > > And my Ubuntu clock nicely ticks away the seconds on screen, so clock, > connection are all working fine. > > What the ... is colinux doing during this long pause? Or is there a > problem in my configuration? You should post your configuration (Windows side), so we can check it. Check your free memory with "free" under Linux. Try to give more memory to the coLinux with the config option "mem=..." (in Megabytes). Add a swap file, if you have not enough memory. Check your network configuration, that X11 truely goes over TAP-Win32 and not some wired ways over SLiRP and/or your local network. Disable temporally your SLiRP or Bridged things, in the coLinux config on Windows or by calling "ifconfig eth0 down" under Linux. Remove temporally your network cable from Windows. Than check the performance again. Or boot Windwos without network and check the launch speed. Check your name resolution (DNS). Check, that the coLinux "hostname" is listed in the file /etc/hosts with the ipaddress of tap on the Linux side, and also with an other name and ip for the TAP-Win32 side. For example: 192.168.0.1 windows 192.168.0.2 colinux The real names for Windows does not matter, but you must use your ip addresses there. Some programs tries to resolve back the ipaddress to a hostname, and if you don't have a real DNS-Server for the TAP addresses, this can be timeout you have seen. -- Henry N. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ coLinux-users mailing list coL...@li... https://lists.sourceforge.net/lists/listinfo/colinux-users |