Re: Bad performance

From: Arjan van Leeuwen <avleeuwen_at_piwebs.com>
Date: Sat, 13 Sep 2003 22:26:54 +0200
> > >
> > > as mentioned: really bad performace occurs when lauching mozilla, gaim,
> > > gnome2, etc. ... when mozilla is running the perfomance seems to be ok
> > > ... possibly a bit too slow but i do not know how to proof this (?)
> > >
> > > i suppose a udma/disk/controller problem. i found out that the
> > > southbridge i use (VIA 82C686B) has some bugs. but in fbsd 5.0 release
> > > notes i found a bugfix for that so i am not sure about it ...
> >
> > I have the same southbridge and a very fast system. That can't be the
> > problem
>
> do u have enabled/disabled anything special ? (kernel, io, net, ...)

I have all debugging options in the kernel disabled, and I have a 
non-debugging malloc (ln -s aj /etc/malloc.conf), but this is disabled by 
default on 5.1-RELEASE I think (are you running -RELEASE or -CURRENT?).

>
> > - and it really does sound like a network problem. It looks like it's
> > looking
> > for a host that it can't find. Possibly your own hostname.
>
> ok. but what i do not understand is that when i do some tests manually
> everything seems to be ok (e.g. ping). any ideas what i may test to figure
> out
> whether it is network problem or not ?
>
> btw. i did a simple io test: (ufs2 softupdates)
> time dd if=/dev/zero of=./out bs=1024k count=256
>
> 256+0 records in
> 256+0 records out
> 268435456 bytes transferred in 20.389193 secs (13165575 bytes/sec)
>
> real    0m20.401s
> user    0m0.000s
> sys     0m6.732s

For the record, this is my output:

256+0 records in
256+0 records out
268435456 bytes transferred in 7.681891 secs (34943929 bytes/sec)
dd if=/dev/zero of=./out bs=1024k count=256  0.00s user 3.66s system 47% cpu 
7.772 total

OK, so it's a little more than twice as fast, but I probably have a faster 
machine and a faster hard drive. This seems to me like it has nothing to do 
with the ultra-long startup times in GNOME. I've seen them before, and they 
were all related to network issues. 

Maybe you can try writing a small C program that does a gethostbyname on the 
output of gethostname and a gethostbyaddr on the output of gethostbyname and 
see if it works.

> when i did this under linux it finished in no time. i do not know whether
> that has to say anything but i found that rather interesting.

They probably have different ways to write zeroes :).

Arjan
Received on Sat Sep 13 2003 - 11:26:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC