From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 11:13:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6504016A4BF for ; Wed, 17 Sep 2003 11:13:30 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A16C543FBD for ; Wed, 17 Sep 2003 11:13:28 -0700 (PDT) (envelope-from sebastian.ssmoller@gmx.net) Received: (qmail 4056 invoked by uid 65534); 17 Sep 2003 18:13:27 -0000 Received: from pD9E823CE.dip.t-dialin.net (EHLO [217.232.35.206]) (217.232.35.206) by mail.gmx.net (mp022) with SMTP; 17 Sep 2003 20:13:27 +0200 X-Authenticated: #15005775 From: sebastian ssmoller To: Freebsd Current In-Reply-To: <20030913224017.GA12867@cirb503493.alcatel.com.au> References: <20030913233905.GA3834@crodrigues.org> <1063457548.846.44.camel@tyrael.linnet> <20030913224017.GA12867@cirb503493.alcatel.com.au> Content-Type: text/plain Message-Id: <1063822777.711.3.camel@tyrael.linnet> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 17 Sep 2003 20:19:38 +0200 Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Bad performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 18:13:30 -0000 X-List-Received-Date: Wed, 17 Sep 2003 18:13:30 -0000 (...) hi, > I agree with the general concensus that this shows all the symptoms of > a network or DNS problem - though the switch from SIS to nVidia may > have disturbed X. > > Did you change any system configuration (hostname etc) when you moved > the disk? Is the 'production' environment identical network-wise to > your test environment? Have you re-configured X to use the different > video card? when i moved the disk i didn't change any network setting. the only difference is that the "prod." system has two network cards (both realtek). i first configured X to use the native nvidia driver but now i am running the X11 "builtin" nvidia driver. Seems to make no difference in performance for me. > How are you starting gdm, gnome2 etc? I gather gdm isn't started > via /etc/ttys but manually from a vty. I presume you are using gdm > to start X. i start gdm using /usr/X11R6/etc/rc.d/gdm.sh as mentioned in docs. to give u some numbers: -starting gdm takes 30 s from command line to login screen (see last post: only 15s with acpi disabled (why?) ) -starting gnome2 takes 25 s from login until nautilus has drawn the desktop i guess this is not really fast, isnt it ? > Can you log in from a second system? If so, what is happening during > the startup delay? Does top show the system is very heavily loaded or > doing nothing (all processes waiting)? > good idea i havnt tried this yet. i ll do theses days ... > Before you start gdm, can you ping your system by hostname? Are there > any other hostname mentioned in your gdm configuration file? Can you > ping them all? > i looked at the /usr/X11R6/etc/gdm/gdm.conf file but i havnt found any hostname specific setting. what exactly shall i look for ? > Have you checked your /etc/nsswitch.conf and /etc/resolv.conf? Is the > output from 'ifconfig -a' and 'netstat -r' correct? > after i have fixed some bugs in named config now ipconfig -a and netstat -r output is ok and both answer in no time (means to timeout). > Have a look through all the files in /var/log that have been updated > recently and check for errors - especially XFree86.0.log, daemon and > messages. Have a look in the gdm log file (I'm not sure where this > is by default). Are there any messages on either the console or > vty from which you started gdm? (Use Ctrl-Alt-Fn to get from X to > vtyn and then Alt-Fn to switch between vtys. You can use ScrollLock > and PgUp/PgDn/Up/Down to scroll back. Press ScrollLock again to > get back to normal). > i had a first look at the config files u named but i could not see any interesting error or warning. i will check this in detail later. > Is any part of your system NFS-mounted? Is X using a fontserver? > Are all these servers responding? currently i do not run nfs (client/server) or fontserver. > Are you running a GENERIC or custom kernel? Do you have any firewall > functions enabled? i use a custom kernel. i have removed some scsi devices cause i am running an ide system. and i moved this debugging stuff. the firewall is not running on startup cause i use a dial up connection. btw: the mozilla-firebird performance problem mention earlier seems to be something different: firebird launches relativly fast and as soon as running i can us the menus and everything which is reachable via mouse. but as soon as i use the keyboard (e.g. typing an internet addr) or switch the window into background and back into foreground moz-firebird hangs for minutes (!). but this only happens the first time after start. when it runs it performs rather good i will try to build a new version these days and will see what happens ... thx for ur hints seb > Peter