Re: Bad performance

2003-09-18 Thread Peter Jeremy
On Wed, Sep 17, 2003 at 09:15:50PM -0600, Scott Long wrote:
sebastian ssmoller wrote:
here is my lmmon output. 

 Motherboard Temp   Voltages

 255C / 491F / 528KVcore1:   +3.984V
   Vcore2:   +3.984V
Fan Speeds + 3.3V:   +3.984V
   + 5.0V:   +6.654V
1:0 rpm+12.0V:  +15.938V
2:0 rpm-12.0V:  -15.938V
3:0 rpm- 5.0V:   -6.654V
...
I wonder if lmmon is unaware that acpi provides temperatures in 
deciKelvins, not Kelvins.  25.5C would be a much more reasonable value,
though my system typically runs in the 40-50C range.

528 deciKelvin == 52.8K  == -220C which isn't reasonable for a system
temperature unless you have cryogenic cooling.

OTOH, 255 == 0xff, 3.984V == 255/256*4V, 15.938V = 255/256*16V
These all look like dummy values - as does 0rpm.

Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread sebastian ssmoller
here is my vmstat -i output:


interrupt total   rate
stray irq01  0
stray irq71  0
npx0 irq131  0
ata0 irq1492143  2
ata1 irq15   20  0
uhci0 irq11   1  0
pcm0 irq936  0
rl0 irq1011  0
rl1 irq11 77987  2
fdc0 irq6 1  0
atkbd0 irq16946  0
clk irq03180967 99
rtc irq84071093127
Total   7429208233


apart from some icq sharing it seems to be ok, doesnt it ?

i turned of acpi on startup an voila :) : gdm starts two times faster as
before (!) (30s - 15-17s)

can anyone explain me why, pls ?

and the other question is: do i really need acpi ? 
i run a desktop system so suspend/resume is not interesting for me.
does fbsd/acpi supend the disk when the system idles ? (linux does not)

thx 
seb

On Sat, 2003-09-13 at 15:28, Max Laier wrote: 
 Interrupts?! Check $vmstat -i
 ACPI? Try disableing it.
 I have a VIA chipset as well and my ata IRQs just went crazy when used with
 ACPI.
 
 GL
 
(...)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread sebastian ssmoller
(...)

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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Bad performance

2003-09-17 Thread Don Bowman
From: sebastian ssmoller [mailto:[EMAIL PROTECTED]
 ...
 
 i turned of acpi on startup an voila :) : gdm starts two 
 times faster as
 before (!) (30s - 15-17s)
 
 can anyone explain me why, pls ?

I wonder how hot your processor is? perhaps ACPI is throttling
the clock back, either duty cycle or frequency.
In your bios you can set the power mode, perhaps you 
can set 'full power always'.

lmmon might show something.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Bad performance

2003-09-17 Thread sebastian ssmoller
On Wed, 2003-09-17 at 20:16, Don Bowman wrote:
 From: sebastian ssmoller [mailto:[EMAIL PROTECTED]
  ...
  
  i turned of acpi on startup an voila :) : gdm starts two 
  times faster as
  before (!) (30s - 15-17s)
  
  can anyone explain me why, pls ?
 
 I wonder how hot your processor is? perhaps ACPI is throttling
 the clock back, either duty cycle or frequency.
 In your bios you can set the power mode, perhaps you 
 can set 'full power always'.
 
 lmmon might show something.
 

here is my lmmon output. 

 Motherboard Temp   Voltages

 255C / 491F / 528KVcore1:   +3.984V
   Vcore2:   +3.984V
Fan Speeds + 3.3V:   +3.984V
   + 5.0V:   +6.654V
1:0 rpm+12.0V:  +15.938V
2:0 rpm-12.0V:  -15.938V
3:0 rpm- 5.0V:   -6.654V


i'm not sure whether this output is correct : 255 C ?? 
so this should be a reason for acpi to throttling the cpu, doesnt it ?
:) 

can u give me a hint how to correct these values ? (cause hardware is
ok this should be a software/config probem (?)



thx 
seb

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread Conrad J. Sabatier
On Sat, Sep 13, 2003 at 06:05:59PM +0200, sebastian ssmoller wrote:
 
 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 discovered a while back that most GNOME stuff (including daemons and 
whatnot), for some strange reason, will try to connect to port 111 
(sunrpc) on startup.

Try enabling rpcbind and see what happens.

-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread Steve Kargl
On Wed, Sep 17, 2003 at 08:31:52PM +0200, sebastian ssmoller wrote:
  Motherboard Temp   Voltages
 
  255C / 491F / 528KVcore1:   +3.984V
Vcore2:   +3.984V
 Fan Speeds + 3.3V:   +3.984V
+ 5.0V:   +6.654V
 1:0 rpm+12.0V:  +15.938V
 2:0 rpm-12.0V:  -15.938V
 3:0 rpm- 5.0V:   -6.654V
 
 
 i'm not sure whether this output is correct : 255 C ?? 
 so this should be a reason for acpi to throttling the cpu, doesnt it ?

0 rpm?  Are you sure your fans are working?

As for cpu throttling try the following

troutmask:kargl[225] sysctl -a | grep acpi.cpu
hw.acpi.cpu.max_speed: 2
hw.acpi.cpu.current_speed: 2
hw.acpi.cpu.performance_speed: 2
hw.acpi.cpu.economy_speed: 1




-- 
Steve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread sebastian ssmoller
On Wed, 2003-09-17 at 20:42, Steve Kargl wrote:
 On Wed, Sep 17, 2003 at 08:31:52PM +0200, sebastian ssmoller wrote:
   Motherboard Temp   Voltages
  
   255C / 491F / 528KVcore1:   +3.984V
 Vcore2:   +3.984V
  Fan Speeds + 3.3V:   +3.984V
 + 5.0V:   +6.654V
  1:0 rpm+12.0V:  +15.938V
  2:0 rpm-12.0V:  -15.938V
  3:0 rpm- 5.0V:   -6.654V
  
  
  i'm not sure whether this output is correct : 255 C ?? 
  so this should be a reason for acpi to throttling the cpu, doesnt it ?
 
 0 rpm?  Are you sure your fans are working?

yes i am :) but the question is why fbsd doesnt see this ? the hardware
is set up properly (cause bios displays correct rpm/temp etc) ...

 
 As for cpu throttling try the following
 
 troutmask:kargl[225] sysctl -a | grep acpi.cpu
 hw.acpi.cpu.max_speed: 2
 hw.acpi.cpu.current_speed: 2
 hw.acpi.cpu.performance_speed: 2
 hw.acpi.cpu.economy_speed: 1
 

i will try this

thx 
seb


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread Scott Lambert
On Wed, Sep 17, 2003 at 08:31:52PM +0200, sebastian ssmoller wrote:
 On Wed, 2003-09-17 at 20:16, Don Bowman wrote:
  I wonder how hot your processor is? perhaps ACPI is throttling
  the clock back, either duty cycle or frequency.
  In your bios you can set the power mode, perhaps you 
  can set 'full power always'.
  
  lmmon might show something.

 here is my lmmon output. 
 
  Motherboard Temp   Voltages
 
  255C / 491F / 528KVcore1:   +3.984V
Vcore2:   +3.984V
 Fan Speeds + 3.3V:   +3.984V
+ 5.0V:   +6.654V
 1:0 rpm+12.0V:  +15.938V
 2:0 rpm-12.0V:  -15.938V
 3:0 rpm- 5.0V:   -6.654V
 
 
 i'm not sure whether this output is correct : 255 C ?? 

Obviously, lmmon does not know how to read your environment monitoring
data.

For teperature on an ACPI enabled machine:
http://people.freebsd.org/~hmp/acpi_temp.c

-- 
Scott LambertKC5MLE   Unix SysAdmin
[EMAIL PROTECTED]  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread Scott Long
sebastian ssmoller wrote:
On Wed, 2003-09-17 at 20:16, Don Bowman wrote:

From: sebastian ssmoller [mailto:[EMAIL PROTECTED]
...
i turned of acpi on startup an voila :) : gdm starts two 
times faster as
before (!) (30s - 15-17s)

can anyone explain me why, pls ?
I wonder how hot your processor is? perhaps ACPI is throttling
the clock back, either duty cycle or frequency.
In your bios you can set the power mode, perhaps you 
can set 'full power always'.

lmmon might show something.



here is my lmmon output. 

 Motherboard Temp   Voltages

 255C / 491F / 528KVcore1:   +3.984V
   Vcore2:   +3.984V
Fan Speeds + 3.3V:   +3.984V
   + 5.0V:   +6.654V
1:0 rpm+12.0V:  +15.938V
2:0 rpm-12.0V:  -15.938V
3:0 rpm- 5.0V:   -6.654V
i'm not sure whether this output is correct : 255 C ?? 
so this should be a reason for acpi to throttling the cpu, doesnt it ?
:) 

can u give me a hint how to correct these values ? (cause hardware is
ok this should be a software/config probem (?)

I wonder if lmmon is unaware that acpi provides temperatures in 
deciKelvins, not Kelvins.  25.5C would be a much more reasonable value,
though my system typically runs in the 40-50C range.

Scott

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-17 Thread Conrad J. Sabatier
On Wed, Sep 17, 2003 at 08:19:38PM +0200, sebastian ssmoller wrote:
 (...)
 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
 ...

Sounds like you just need to disable Find as you type in mozilla (does 
anyone actually *use* this feature???).

-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-15 Thread Sean Chittenden
 i recently switched from mandrake to freebsd. i used a second system, 
 to install freebsd 5.1 (release) on a 15 gb western digital disk. i
 installed the whole system without problems and managed to start gdm and
 gnome2. everything worked fine and performance (launching gdm, gnome2
 and firebird) was really good (better then mdk :)
 
 then i moved the disk from the hardware used during install into the
 production environment which includes VIA 82C8363 (Apollo KT133A)
 board, NVidia GeForce2 grafic card (using nvidia native driver for x11),
 AMD Duron 750 MHz, 512 mb ram.
 
 everything worked fine again. BUT: launching gdm needs a lot of time,
 same for gnome2. when i start moz-firebird i am unabled to use it for
 minutes (!) until it reacts on user events (typing inet adress into
 address bar), same for gaim.
 i checked the ata settings; the drive is running in udma66 (as
 expected).

 cause i am new to *bsd i do not really know where to start or what
 further information to provide. any hint/idea would be great !

At any time during the above, did you recompile your kernel?  If so,
comment out these options from your kernel config and recompile again:

options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options WITNESS_SKIPSPIN

-sc

-- 
Sean Chittenden
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-14 Thread Sebastian Ssmoller
hi,
i did a lot of changes and tests last night :)

-u were right there was a bug in the network config (i fixed some named
entries)
 now netstat -r is really fast (no timeouts which occured before)

-i wrote a simple c test program using gethostname, gethostbyname,
gethostbyaddr as suggested
 it work fine

-i disabled all these debugging options in kernel and did that ln -s aj
/etc/malloc.conf thing


all in all  performance seem to be better now :)

BUT: i have a lot trouble with the new kernel (without debug)
- pf.ko cannot be loaded
- evolution is unable to send mails (core dump) - possible a different
problem
- vmware crashes
- AND: the whole system crashed 3 times with FS problems
 since the last crash i am unable to clean up the ufs2 using fsck !!! 
now my system is DEAD i guess :'(

any ideas how to at least be able to boot fbsd agian ??

many thx
seb

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread Arjan van Leeuwen
On Saturday 13 September 2003 14:52, sebastian ssmoller wrote:
 hi,
 i recently switched from mandrake to freebsd. i used a second system,
 to install freebsd 5.1 (release) on a 15 gb western digital disk. i
 installed the whole system without problems and managed to start gdm and
 gnome2. everything worked fine and performance (launching gdm, gnome2
 and firebird) was really good (better then mdk :)

 then i moved the disk from the hardware used during install into the
 production environment which includes VIA 82C8363 (Apollo KT133A)
 board, NVidia GeForce2 grafic card (using nvidia native driver for x11),
 AMD Duron 750 MHz, 512 mb ram.

 everything worked fine again. BUT: launching gdm needs a lot of time,
 same for gnome2. when i start moz-firebird i am unabled to use it for
 minutes (!) until it reacts on user events (typing inet adress into
 address bar), same for gaim.
 i checked the ata settings; the drive is running in udma66 (as
 expected).

 cause i am new to *bsd i do not really know where to start or what
 further information to provide. any hint/idea would be great !

 thx for ur help
 seb

 ps: the system i used to installed fbsd first is: AMD Duron 800 MHz,
 VIA  VT8363/8365 [KT133/KM133] board, old SIS 8MB pci video card, 256 mb
 ram

Some things you might want to check:

1) Is your hostname set? It has to be set in /etc/rc.conf. 
2) Is your hostname properly configure in /etc/hosts? It should look something 
like this:
127.0.0.1   localhost localhost.my.domain
127.0.0.1   hostname hostname.my.domain
127.0.0.1   hostname.my.domain.
(note the dot after the last line. hostname.my.domain should be the output of 
'hostname', and hostname the output of 'hostname -s')
3) Are you using IPv6? If not, try disabling it in your kernel.

Arjan


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread sebastian ssmoller
On Sat, 2003-09-13 at 15:08, Arjan van Leeuwen wrote:
 On Saturday 13 September 2003 14:52, sebastian ssmoller wrote:
  hi,
  i recently switched from mandrake to freebsd. i used a second system,
  to install freebsd 5.1 (release) on a 15 gb western digital disk. i
  installed the whole system without problems and managed to start gdm and
  gnome2. everything worked fine and performance (launching gdm, gnome2
  and firebird) was really good (better then mdk :)
 
  then i moved the disk from the hardware used during install into the
  production environment which includes VIA 82C8363 (Apollo KT133A)
  board, NVidia GeForce2 grafic card (using nvidia native driver for x11),
  AMD Duron 750 MHz, 512 mb ram.
 
  everything worked fine again. BUT: launching gdm needs a lot of time,
  same for gnome2. when i start moz-firebird i am unabled to use it for
  minutes (!) until it reacts on user events (typing inet adress into
  address bar), same for gaim.
  i checked the ata settings; the drive is running in udma66 (as
  expected).
 
  cause i am new to *bsd i do not really know where to start or what
  further information to provide. any hint/idea would be great !
 
  thx for ur help
  seb
 
  ps: the system i used to installed fbsd first is: AMD Duron 800 MHz,
  VIA  VT8363/8365 [KT133/KM133] board, old SIS 8MB pci video card, 256 mb
  ram
 
 Some things you might want to check:
 
 1) Is your hostname set? It has to be set in /etc/rc.conf. 

is set correcly 

 2) Is your hostname properly configure in /etc/hosts? It should look something 
 like this:
 127.0.0.1   localhost localhost.my.domain
 127.0.0.1   hostname hostname.my.domain
 127.0.0.1   hostname.my.domain.
 (note the dot after the last line. hostname.my.domain should be the output of 
 'hostname', and hostname the output of 'hostname -s')

seems to be correct too. btw. i use a DNS server (freebsd's std bind)
which seems to work correctly too (responses ok, performance ok).

firebird and gaim performance is ok when running, the bad perf. occurs
on startup :( so currently i think it could be a problem with ide
controler oder disk/drive settings (?)

 3) Are you using IPv6? If not, try disabling it in your kernel.

i do not need IPv6 but is still enabled. i will disable it. do u think
this could have such an incluence on  performace ?

thx for ur hints
seb

 
 Arjan
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread Alexander Leidinger
On 13 Sep 2003 14:52:29 +0200
sebastian ssmoller [EMAIL PROTECTED] wrote:

 then i moved the disk from the hardware used during install into the
 production environment which includes VIA 82C8363 (Apollo KT133A)
 board, NVidia GeForce2 grafic card (using nvidia native driver for x11),
 AMD Duron 750 MHz, 512 mb ram.
 
 everything worked fine again. BUT: launching gdm needs a lot of time,
 same for gnome2. when i start moz-firebird i am unabled to use it for
 minutes (!) until it reacts on user events (typing inet adress into
 address bar), same for gaim.

 ps: the system i used to installed fbsd first is: AMD Duron 800 MHz,
 VIA  VT8363/8365 [KT133/KM133] board, old SIS 8MB pci video card, 256 mb
 ram

Is the system connected to a network, and if yes, does the network cards
on both systems differ? If yes, have a look at the output of dmesg and
try to find you network card. If you have it modify /etc/rc.conf
(ifconfig_interface_name line).

This sounds to me like a DNS problem, please check your default gateway
(rc.conf: gateway line) too.

Bye,
Alexander.

-- 
  Weird enough for government work.

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread sebastian ssmoller
On Sat, 2003-09-13 at 16:34, Alexander Leidinger wrote:
 On 13 Sep 2003 14:52:29 +0200
 sebastian ssmoller [EMAIL PROTECTED] wrote:
 
  then i moved the disk from the hardware used during install into the
  production environment which includes VIA 82C8363 (Apollo KT133A)
  board, NVidia GeForce2 grafic card (using nvidia native driver for x11),
  AMD Duron 750 MHz, 512 mb ram.
  
  everything worked fine again. BUT: launching gdm needs a lot of time,
  same for gnome2. when i start moz-firebird i am unabled to use it for
  minutes (!) until it reacts on user events (typing inet adress into
  address bar), same for gaim.
 
  ps: the system i used to installed fbsd first is: AMD Duron 800 MHz,
  VIA  VT8363/8365 [KT133/KM133] board, old SIS 8MB pci video card, 256 mb
  ram
 
 Is the system connected to a network, and if yes, does the network cards
 on both systems differ? If yes, have a look at the output of dmesg and
 try to find you network card. If you have it modify /etc/rc.conf
 (ifconfig_interface_name line).

the system has two realtek network cards. both seem to work correctly -
i've no connection problems - connection performance is ok.

 
 This sounds to me like a DNS problem, please check your default gateway
 (rc.conf: gateway line) too.

dns seems to be ok. all requests are resolved correctly ...
default gateway should not be the problem cause without ppp (dsl) this
system is the default gw for the rest of the intranet and with ppp the
default gw seems to be ok too.

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 ...


thx  regards,
seb

 
 Bye,
 Alexander.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread sebastian ssmoller
On Sat, 2003-09-13 at 16:34, Alexander Leidinger wrote:
 On 13 Sep 2003 14:52:29 +0200
 sebastian ssmoller [EMAIL PROTECTED] wrote:
 
  then i moved the disk from the hardware used during install into the
  production environment which includes VIA 82C8363 (Apollo KT133A)
  board, NVidia GeForce2 grafic card (using nvidia native driver for x11),
  AMD Duron 750 MHz, 512 mb ram.
  
  everything worked fine again. BUT: launching gdm needs a lot of time,
  same for gnome2. when i start moz-firebird i am unabled to use it for
  minutes (!) until it reacts on user events (typing inet adress into
  address bar), same for gaim.
 
  ps: the system i used to installed fbsd first is: AMD Duron 800 MHz,
  VIA  VT8363/8365 [KT133/KM133] board, old SIS 8MB pci video card, 256 mb
  ram
 
 Is the system connected to a network, and if yes, does the network cards
 on both systems differ? If yes, have a look at the output of dmesg and
 try to find you network card. If you have it modify /etc/rc.conf
 (ifconfig_interface_name line).

the system has two realtek network cards. both seem to work correctly -
i've no connection problems - connection performance is ok.

 
 This sounds to me like a DNS problem, please check your default gateway
 (rc.conf: gateway line) too.

dns seems to be ok. all requests are resolved correctly ...
default gateway should not be the problem cause without ppp (dsl) this
system is the default gw for the rest of the intranet and with ppp the
default gw seems to be ok too.

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 ...


thx  regards,
seb

 
 Bye,
 Alexander.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread Arjan van Leeuwen
On Saturday 13 September 2003 18:05, sebastian ssmoller wrote:
 On Sat, 2003-09-13 at 16:34, Alexander Leidinger wrote:
  On 13 Sep 2003 14:52:29 +0200
 
  sebastian ssmoller [EMAIL PROTECTED] wrote:
   then i moved the disk from the hardware used during install into the
   production environment which includes VIA 82C8363 (Apollo KT133A)
   board, NVidia GeForce2 grafic card (using nvidia native driver for
   x11), AMD Duron 750 MHz, 512 mb ram.
  
   everything worked fine again. BUT: launching gdm needs a lot of time,
   same for gnome2. when i start moz-firebird i am unabled to use it for
   minutes (!) until it reacts on user events (typing inet adress into
   address bar), same for gaim.
  
   ps: the system i used to installed fbsd first is: AMD Duron 800 MHz,
   VIA  VT8363/8365 [KT133/KM133] board, old SIS 8MB pci video card, 256
   mb ram
 
  Is the system connected to a network, and if yes, does the network cards
  on both systems differ? If yes, have a look at the output of dmesg and
  try to find you network card. If you have it modify /etc/rc.conf
  (ifconfig_interface_name line).

 the system has two realtek network cards. both seem to work correctly -
 i've no connection problems - connection performance is ok.

  This sounds to me like a DNS problem, please check your default gateway
  (rc.conf: gateway line) too.

 dns seems to be ok. all requests are resolved correctly ...
 default gateway should not be the problem cause without ppp (dsl) this
 system is the default gw for the rest of the intranet and with ppp the
 default gw seems to be ok too.

 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 
- 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.

Arjan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread Fred Souza
 I have the same southbridge and a very fast system. That can't be the problem 
 - 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.

  I've seen a problem somewhat like that one if portmap/rpcbind is not
  running. Some software (most browsers, for example) hang at startup if
  it's not running or if they can't connect to it (firewall?).


  Fred


-- 
It's really quite a simple choice: Life, Death, or Los Angeles.


pgp0.pgp
Description: PGP signature


Re: Bad performance

2003-09-13 Thread Arjan van Leeuwen
  
   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)

 real0m20.401s
 user0m0.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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bad performance

2003-09-13 Thread Fred Souza
 i guess portmapper is not runing. whats the name of the rc.d script on fbsd
 ? 
 i looked for portmap (as under linux) but haven't found in /etc/rc.d ...

  If you're running 4.x, it's portmap. If it's 5.x, it's rpcbind. To
  have it loaded at boot-time, just put rpcbind_enable=YES into your
  /etc/rc.conf.

 other question: is there a good/realistic benchmark wich i could use so we
 could
 check/compare whether the system is really that slow or not ?

  I haven't used any benchmarking tools, but there's a whole category on
  this under the ports-tree (ports/benchmarks/). Maybe someone else with
  experience with it can point out something specific for you.


  Fred


-- 
If all men were brothers, would you let one marry your sister?


pgp0.pgp
Description: PGP signature


Re: Bad performance

2003-09-13 Thread Peter Jeremy
On Sat, Sep 13, 2003 at 02:52:29PM +0200, sebastian ssmoller wrote:
then i moved the disk from the hardware used during install into the
production environment which includes VIA 82C8363 (Apollo KT133A)
...
everything worked fine again. BUT: launching gdm needs a lot of time,
same for gnome2. when i start moz-firebird i am unabled to use it for
minutes (!) until it reacts on user events (typing inet adress into
address bar), same for gaim.

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?

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.

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)?

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?

Have you checked your /etc/nsswitch.conf and /etc/resolv.conf?  Is the
output from 'ifconfig -a' and 'netstat -r' correct?

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).

Is any part of your system NFS-mounted?  Is X using a fontserver?
Are all these servers responding?

Are you running a GENERIC or custom kernel?  Do you have any firewall
functions enabled?

Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]