Re: Load when idl on stable

2012-06-05 Thread Albert Shih
 Le 05/06/2012 ? 16:14:56-0400, Adam McDougall a écrit
> On 06/05/12 15:37, Albert Shih wrote:
> >   Le 03/06/2012 ? 23:55:06+0200, Oliver Pinter a écrit
> >> I think, this is the old thread:
> >> http://freebsd.1045724.n5.nabble.com/High-load-event-idl-td5671431.html
> >
> > Yes. But because I didn't find any solution, I resent the problem.
> >>
> >> The interrupt rerouting does not help?
> >
> > Well I've no idea what you talking but I try every solution describe in the
> > thread you mentioned. I didn't find any solution.
> >
> > Regards.
> >
> > NB: I forget to say I'm not a developer, just sysadmin. I use Stable just
> > for report here any problem I got.
> 
> Try changing kern.eventtimer.timer:
> 
> % sysctl kern.eventtimer.timer=LAPIC

I have no idea what's that mean, but yes it's much better.

After 10 minutes the load drop to 0.08 (from 0.60-0.70)

last pid:  2876;  load averages:  0.05,  0.06,  0.17 up 0+02:14:49  
22:45:45
81 processes:  1 running, 80 sleeping

but still more than my desktop: 

last pid: 10150;  load averages:  0.00,  0.00,  0.00 up 5+04:42:21  
22:46:18
166 processes: 1 running, 165 sleeping


Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
mar 5 jui 2012 22:44:55 CEST
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-05 Thread Adam McDougall

On 06/05/12 15:37, Albert Shih wrote:

  Le 03/06/2012 ? 23:55:06+0200, Oliver Pinter a écrit

I think, this is the old thread:
http://freebsd.1045724.n5.nabble.com/High-load-event-idl-td5671431.html


Yes. But because I didn't find any solution, I resent the problem.


The interrupt rerouting does not help?


Well I've no idea what you talking but I try every solution describe in the
thread you mentioned. I didn't find any solution.

Regards.

NB: I forget to say I'm not a developer, just sysadmin. I use Stable just
for report here any problem I got.


Try changing kern.eventtimer.timer:

% sysctl kern.eventtimer.timer=LAPIC

How to display your choices ordered by quality:
% sysctl kern.eventtimer

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-05 Thread Albert Shih
 Le 05/06/2012 ? 12:40:19+0200, Matthias Gamsjager a écrit
> 
> 
> >>
> >> I've three PC, all are Dell. Two laptop and one desktop.
> >>
> >> All run FreeBSD 9-Stable amd64
> >>
> >> Since 1 or 2 months I notice the load is never drop down 0.8-0.9 event
> > when
> >> nothing running but only on those laptop.
> >>
> >> I update today my desktop to last csup src and everything is fine on 
> the
> >> desktop.
> >>
> >> On both laptop the load is still at 0.8 - 0.9
> >>
> >> And in same time the usb mouse on the laptop stop working meaning I can
> >> use the touchpad, but if I plug a usb mouse, the kernel see the device
> >> but
> >> the mouse not working on xorg.
> >>
> >> Is' not block my work so I can live with that. I just want report those
> >> problems.
> >>
> 
> 
> did you enable device polling for your NIC? 

No it's standard configuration about NIC. 

I don't need to enable anything to got high load, I boot the laptop, log
with root login that's enough (without X11) to got 0.6-0.7 load.

Basicaly I use a wifi NIC, and most important I change nothing on the
configuration since ... long time ago (maybe FreeBSD 6.x). First time I got
a problem so strange with Stable. (Maybe third time I got a problem with
stable ;-) ). 

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
mar 5 jui 2012 21:51:58 CEST
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-05 Thread Albert Shih
 Le 04/06/2012 ? 06:22:34+0930, Matt Thyer a écrit
> 
Hi,

> Is this due to a high rate of interrupts ?

No idea ;-)

> i.e. can you see this with "systat -vm 1" with a large number in the "intr"
> field.

Well I don't known what you mean by «high rate», so I make a compraison
between my desktop and my laptop. 

On the laptop (where the load is always high) I got 
~500- 650 total Interrupts with ~490-500 from hpet0 uhci

On my desktop (load is ~0) I got
~340- 360 total Interrupts with 320-350 from hpet0 20


> 
> If yes, run "vmstat -i" to see what interrupt is being hit.
On my laptop (uptime ~ 1h): 

vmstat -i

interrupt  total   rate
irq1: atkbd07240  1
irq9: acpi07  0
irq12: psm044037 10
irq14: ata0 6590  1
irq17: wpi0   683770155
irq18: atapci1 15447  3
irq19: fwohci0 2  0
irq20: hpet0 uhci0*  2888037656
irq22: ehci0 uhci4 2  0
irq256: hdac0 270090 61
Total3915222890

On my destkop (uptime 5 days)

interrupt  total   rate
irq1: atkbd0  239742  0
irq12: psm0   999224  2
irq16: uhci0 4062873  9
irq17: fwohci0++   1  0
irq20: hpet0   222779529500
irq22: uhci2 ehci0222967  0
irq24: vgapci0972589  2
irq256: hdac09881473 22
irq257: bge0 8422313 18
irq258: ahci05744209 12
Total  253324920568

> 
> Then tell us what hardware is on that irq (from grep irq /var/run/dmesg.boot).


Here on the laptop: 

grep irq /var/run/dmesg.boot 

ioapic0  irqs 0-23 on motherboard
atrtc0:  port 0x70-0x71,0x72-0x77 irq 8 on acpi0
attimer0:  port 0x40-0x43,0x50-0x53 irq 2 on acpi0
vgapci0:  port 0xdf00-0xdf7f mem 
0xf500-0xf5ff,0xe000-0xefff,0xf200-0xf3ff irq 16 at 
device 0.0 on pci1
uhci0:  port 0x6f20-0x6f3f irq 20 at 
device 26.0 on pci0
uhci1:  port 0x6f00-0x6f1f irq 21 at 
device 26.1 on pci0
ehci0:  mem 
0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0
hdac0:  mem 0xf6ffc000-0xf6ff irq 21 at device 
27.0 on pci0
wpi0:  mem 0xf1fff000-0xf1ff irq 17 at 
device 0.0 on pci12
bge0: 
mem 0xf1bf-0xf1bf irq 17 at device 0.0 on pci9
uhci2:  port 0x6f80-0x6f9f irq 20 at 
device 29.0 on pci0
uhci3:  port 0x6f60-0x6f7f irq 21 at 
device 29.1 on pci0
uhci4:  port 0x6f40-0x6f5f irq 22 at 
device 29.2 on pci0
ehci1:  mem 
0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0
fwohci0: <1394 Open Host Controller Interface> mem 0xf1aff800-0xf1af irq 19 
at device 1.0 on pci3
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6fa0-0x6faf irq 16 at device 31.1 on pci0
atapci1:  port 
0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6eef,0xeff0-0xefff
 irq 18 at device 31.2 on pci0
atkbdc0:  port 0x60,0x64,0x62,0x66 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
psm0:  irq 12 on atkbdc0

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
mar 5 jui 2012 21:38:47 CEST
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-05 Thread Albert Shih
 Le 03/06/2012 ? 23:55:06+0200, Oliver Pinter a écrit
> I think, this is the old thread:
> http://freebsd.1045724.n5.nabble.com/High-load-event-idl-td5671431.html

Yes. But because I didn't find any solution, I resent the problem.
> 
> The interrupt rerouting does not help?

Well I've no idea what you talking but I try every solution describe in the
thread you mentioned. I didn't find any solution.

Regards.

NB: I forget to say I'm not a developer, just sysadmin. I use Stable just
for report here any problem I got. 
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
mar 5 jui 2012 21:34:35 CEST
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-05 Thread Matthias Gamsjager
On Sun, Jun 3, 2012 at 11:55 PM, Oliver Pinter wrote:

> I think, this is the old thread:
> http://freebsd.1045724.n5.nabble.com/High-load-event-idl-td5671431.html
>
> The interrupt rerouting does not help?
>
> On 6/3/12, Matt Thyer  wrote:
> > On Jun 1, 2012 11:27 PM, "Albert Shih"  wrote:
> >>
> >> Hi
> >>
> >> I already post a message about my problem
> >>
> >> I've three PC, all are Dell. Two laptop and one desktop.
> >>
> >> All run FreeBSD 9-Stable amd64
> >>
> >> Since 1 or 2 months I notice the load is never drop down 0.8-0.9 event
> > when
> >> nothing running but only on those laptop.
> >>
> >> I update today my desktop to last csup src and everything is fine on the
> >> desktop.
> >>
> >> On both laptop the load is still at 0.8 - 0.9
> >>
> >> And in same time the usb mouse on the laptop stop working meaning I can
> >> use the touchpad, but if I plug a usb mouse, the kernel see the device
> >> but
> >> the mouse not working on xorg.
> >>
> >> Is' not block my work so I can live with that. I just want report those
> >> problems.
> >>
> >> Regards.
> >>
> >> JAS
> >
> > Is this due to a high rate of interrupts ?
> > i.e. can you see this with "systat -vm 1" with a large number in the
> "intr"
> > field.
> >
> > If yes, run "vmstat -i" to see what interrupt is being hit.
> >
> > Then tell us what hardware is on that irq (from grep irq
> > /var/run/dmesg.boot).
> >
> > Matt
>
>

did you enable device polling for your NIC?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-03 Thread Oliver Pinter
I think, this is the old thread:
http://freebsd.1045724.n5.nabble.com/High-load-event-idl-td5671431.html

The interrupt rerouting does not help?

On 6/3/12, Matt Thyer  wrote:
> On Jun 1, 2012 11:27 PM, "Albert Shih"  wrote:
>>
>> Hi
>>
>> I already post a message about my problem
>>
>> I've three PC, all are Dell. Two laptop and one desktop.
>>
>> All run FreeBSD 9-Stable amd64
>>
>> Since 1 or 2 months I notice the load is never drop down 0.8-0.9 event
> when
>> nothing running but only on those laptop.
>>
>> I update today my desktop to last csup src and everything is fine on the
>> desktop.
>>
>> On both laptop the load is still at 0.8 - 0.9
>>
>> And in same time the usb mouse on the laptop stop working meaning I can
>> use the touchpad, but if I plug a usb mouse, the kernel see the device
>> but
>> the mouse not working on xorg.
>>
>> Is' not block my work so I can live with that. I just want report those
>> problems.
>>
>> Regards.
>>
>> JAS
>
> Is this due to a high rate of interrupts ?
> i.e. can you see this with "systat -vm 1" with a large number in the "intr"
> field.
>
> If yes, run "vmstat -i" to see what interrupt is being hit.
>
> Then tell us what hardware is on that irq (from grep irq
> /var/run/dmesg.boot).
>
> Matt
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Load when idl on stable

2012-06-03 Thread Matt Thyer
On Jun 1, 2012 11:27 PM, "Albert Shih"  wrote:
>
> Hi
>
> I already post a message about my problem
>
> I've three PC, all are Dell. Two laptop and one desktop.
>
> All run FreeBSD 9-Stable amd64
>
> Since 1 or 2 months I notice the load is never drop down 0.8-0.9 event
when
> nothing running but only on those laptop.
>
> I update today my desktop to last csup src and everything is fine on the
> desktop.
>
> On both laptop the load is still at 0.8 - 0.9
>
> And in same time the usb mouse on the laptop stop working meaning I can
> use the touchpad, but if I plug a usb mouse, the kernel see the device but
> the mouse not working on xorg.
>
> Is' not block my work so I can live with that. I just want report those
> problems.
>
> Regards.
>
> JAS

Is this due to a high rate of interrupts ?
i.e. can you see this with "systat -vm 1" with a large number in the "intr"
field.

If yes, run "vmstat -i" to see what interrupt is being hit.

Then tell us what hardware is on that irq (from grep irq
/var/run/dmesg.boot).

Matt
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Load when idl on stable

2012-05-31 Thread Albert Shih
Hi

I already post a message about my problem

I've three PC, all are Dell. Two laptop and one desktop.

All run FreeBSD 9-Stable amd64

Since 1 or 2 months I notice the load is never drop down 0.8-0.9 event when
nothing running but only on those laptop. 

I update today my desktop to last csup src and everything is fine on the
desktop. 

On both laptop the load is still at 0.8 - 0.9

And in same time the usb mouse on the laptop stop working meaning I can
use the touchpad, but if I plug a usb mouse, the kernel see the device but
the mouse not working on xorg.

Is' not block my work so I can live with that. I just want report those
problems.

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
jeu 31 mai 2012 22:18:40 CEST
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"