Re: 5.4-prerelease - hanging under load

2005-04-06 Thread Pierre-Luc Drouin
Matthias Buelow wrote:
Nate Lawson [EMAIL PROTECTED] writes:
 

sysctl dev.cpu and look at the current frequency setting.  If low, then 
your system is affected and will be fixed soon when I mfc.  If not, 
perhaps you have an interrupt storm (vmstat -i)
   

Just for the record. I ran vmstat -i in a loop while untarring the
thunderbird source (causing degraded interactive responsiveness, as
reported in an earlier mail), and couldn't see any noticable increase in
interrupt rate.
mkb.
 

I've noticed that the idle process is using sometimes as much as 60% of 
my CPU. Could it be a relation between that and the lag we have with 5.4?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-prerelease - hanging under load

2005-04-06 Thread Nate Lawson
Pierre-Luc Drouin wrote:
Matthias Buelow wrote:
Nate Lawson [EMAIL PROTECTED] writes:
 

sysctl dev.cpu and look at the current frequency setting.  If low, 
then your system is affected and will be fixed soon when I mfc.  If 
not, perhaps you have an interrupt storm (vmstat -i)
  

Just for the record. I ran vmstat -i in a loop while untarring the
thunderbird source (causing degraded interactive responsiveness, as
reported in an earlier mail), and couldn't see any noticable increase in
interrupt rate.
mkb.
 

I've noticed that the idle process is using sometimes as much as 60% of 
my CPU. Could it be a relation between that and the lag we have with 5.4?
That is different.  sysctl hw.acpi.cpu.cx_lowest=C1 to see if that 
works around it.

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


Re: 5.4-prerelease - hanging under load

2005-04-06 Thread Pierre-Luc Drouin
Nate Lawson wrote:
Pierre-Luc Drouin wrote:
Matthias Buelow wrote:
Nate Lawson [EMAIL PROTECTED] writes:
 

sysctl dev.cpu and look at the current frequency setting.  If low, 
then your system is affected and will be fixed soon when I mfc.  If 
not, perhaps you have an interrupt storm (vmstat -i)
  

Just for the record. I ran vmstat -i in a loop while untarring the
thunderbird source (causing degraded interactive responsiveness, as
reported in an earlier mail), and couldn't see any noticable 
increase in
interrupt rate.

mkb.
 

I've noticed that the idle process is using sometimes as much as 60% 
of my CPU. Could it be a relation between that and the lag we have 
with 5.4?

That is different.  sysctl hw.acpi.cpu.cx_lowest=C1 to see if that 
works around it.

I already have this
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-prerelease - hanging under load

2005-04-06 Thread Nate Lawson
Pierre-Luc Drouin wrote:
Nate Lawson wrote:
Pierre-Luc Drouin wrote:
Matthias Buelow wrote:
Nate Lawson [EMAIL PROTECTED] writes:
 

sysctl dev.cpu and look at the current frequency setting.  If low, 
then your system is affected and will be fixed soon when I mfc.  If 
not, perhaps you have an interrupt storm (vmstat -i)
  


Just for the record. I ran vmstat -i in a loop while untarring the
thunderbird source (causing degraded interactive responsiveness, as
reported in an earlier mail), and couldn't see any noticable 
increase in
interrupt rate.

mkb.
 

I've noticed that the idle process is using sometimes as much as 60% 
of my CPU. Could it be a relation between that and the lag we have 
with 5.4?

That is different.  sysctl hw.acpi.cpu.cx_lowest=C1 to see if that 
works around it.

I already have this
Then it's not acpi since c1 is the old (even 4.x) behavior.
--
Nate
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-prerelease - hanging under load

2005-04-04 Thread Matthias Buelow
Nate Lawson [EMAIL PROTECTED] writes:

sysctl dev.cpu and look at the current frequency setting.  If low, then 
your system is affected and will be fixed soon when I mfc.  If not, 
perhaps you have an interrupt storm (vmstat -i)

Just for the record. I ran vmstat -i in a loop while untarring the
thunderbird source (causing degraded interactive responsiveness, as
reported in an earlier mail), and couldn't see any noticable increase in
interrupt rate.

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


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Christian Brueffer
On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
 Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my 
 computer is hanging badly under load. I've a P4 2.53 GHz without 
 hyperthreading (no SMP). I use the same kernel configurations than 
 before. Now when I compile a port for example, the mouse pointer hangs 
 in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
 screen. Even vi hangs. I do not see any warning/error message. Is it a 
 known problem with 5.4?
 

I have experienced something similar, putting the following into rc.conf
worked for me:

performance_cpu_freq=HIGH

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgpyyV14M5PEe.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Pierre-Luc Drouin
Christian Brueffer wrote:
On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
 

Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my 
computer is hanging badly under load. I've a P4 2.53 GHz without 
hyperthreading (no SMP). I use the same kernel configurations than 
before. Now when I compile a port for example, the mouse pointer hangs 
in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
screen. Even vi hangs. I do not see any warning/error message. Is it a 
known problem with 5.4?

   

I have experienced something similar, putting the following into rc.conf
worked for me:
performance_cpu_freq=HIGH
- Christian
 

Yes, this seams to fix it. I didn't know that I had a laptop? :)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Emanuel Strobl
Am Sonntag, 3. April 2005 18:07 schrieb Pierre-Luc Drouin:
 Christian Brueffer wrote:
 On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
 Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my
 computer is hanging badly under load. I've a P4 2.53 GHz without
 hyperthreading (no SMP). I use the same kernel configurations than
 before. Now when I compile a port for example, the mouse pointer hangs
 in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the
 screen. Even vi hangs. I do not see any warning/error message. Is it a
 known problem with 5.4?
 
 I have experienced something similar, putting the following into rc.conf
 worked for me:
 
 performance_cpu_freq=HIGH
 
 - Christian

 Yes, this seams to fix it. I didn't know that I had a laptop? :)

Huh? I thought by default it is HIGH, but it would also explain the 
experiences in the thread cpufreq related RELENG_5 regression 
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=389949+393881+/usr/local/www/db/text/2005/freebsd-stable/20050327.freebsd-stable)

-Harry

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


pgpIA4BhxcUBB.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Christian Brueffer
On Sun, Apr 03, 2005 at 12:07:14PM -0400, Pierre-Luc Drouin wrote:
 Christian Brueffer wrote:
 
 On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
  
 
 Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my 
 computer is hanging badly under load. I've a P4 2.53 GHz without 
 hyperthreading (no SMP). I use the same kernel configurations than 
 before. Now when I compile a port for example, the mouse pointer hangs 
 in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
 screen. Even vi hangs. I do not see any warning/error message. Is it a 
 known problem with 5.4?
 

 
 
 I have experienced something similar, putting the following into rc.conf
 worked for me:
 
 performance_cpu_freq=HIGH
 
 - Christian
 
  
 
 Yes, this seams to fix it. I didn't know that I had a laptop? :)
 

Good to hear.

Nate, this regression was introduced during the cpufreq and friends MFC.
Is switching the performance_cpu_freq default to HIGH the way to go for
5.4-RELEASE?

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgp6ueduj7578.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Christian Brueffer
On Sun, Apr 03, 2005 at 06:34:46PM +0200, Emanuel Strobl wrote:
 Am Sonntag, 3. April 2005 18:07 schrieb Pierre-Luc Drouin:
  Christian Brueffer wrote:
  On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
  Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my
  computer is hanging badly under load. I've a P4 2.53 GHz without
  hyperthreading (no SMP). I use the same kernel configurations than
  before. Now when I compile a port for example, the mouse pointer hangs
  in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the
  screen. Even vi hangs. I do not see any warning/error message. Is it a
  known problem with 5.4?
  
  I have experienced something similar, putting the following into rc.conf
  worked for me:
  
  performance_cpu_freq=HIGH
  
  - Christian
 
  Yes, this seams to fix it. I didn't know that I had a laptop? :)
 
 Huh? I thought by default it is HIGH, but it would also explain the 
 experiences in the thread cpufreq related RELENG_5 regression 
 (http://www.freebsd.org/cgi/getmsg.cgi?fetch=389949+393881+/usr/local/www/db/text/2005/freebsd-stable/20050327.freebsd-stable)
 

Actually I mentioned the workaround in the first message of that thread :-)

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgpLbRGkKIMVE.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Matthias Buelow
Emanuel Strobl wrote:

Huh? I thought by default it is HIGH, but it would also explain the 
experiences in the thread cpufreq related RELENG_5 regression 
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=389949+393881+/usr/local/www/db/text/2005/freebsd-stable/20050327.freebsd-stable)

But does that also affect desktop machines?  I'm not under the
impression that my CPU is running at a lower frequency.  The issue
I mentioned only seems to occur when doing larger block reads/writes
from/to disk (SATA), like untarring firefox.  I didn't notice it
so far when some kind of mixed disk access is going on, like with
find, compiling, etc.  Maybe that points to some locking issues in
the VM corner?  I mean, it's not dramatic, but still makes the
system appear a bit unpolished, when it happens.  In the past, with
pre-5.x releases, FreeBSD has been scheduling disk i/o and interactive
work smoothly, in my experience, so one didn't quite notice when
heavy disk access was going on, at least not if your interactive
programs weren't doing much disk i/o themselves.

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


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Kris Kennaway
On Sun, Apr 03, 2005 at 07:02:16PM +0200, Matthias Buelow wrote:
 Emanuel Strobl wrote:
 
 Huh? I thought by default it is HIGH, but it would also explain the 
 experiences in the thread cpufreq related RELENG_5 regression 
 (http://www.freebsd.org/cgi/getmsg.cgi?fetch=389949+393881+/usr/local/www/db/text/2005/freebsd-stable/20050327.freebsd-stable)
 
 But does that also affect desktop machines?

It could.

  I'm not under the impression that my CPU is running at a lower
 frequency.

OK, but did you try the workaround?

Kris


pgpS6wYymlMdi.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Christian Brueffer
On Sun, Apr 03, 2005 at 07:02:16PM +0200, Matthias Buelow wrote:
 Emanuel Strobl wrote:
 
 Huh? I thought by default it is HIGH, but it would also explain the 
 experiences in the thread cpufreq related RELENG_5 regression 
 (http://www.freebsd.org/cgi/getmsg.cgi?fetch=389949+393881+/usr/local/www/db/text/2005/freebsd-stable/20050327.freebsd-stable)
 
 But does that also affect desktop machines?  I'm not under the
 impression that my CPU is running at a lower frequency.  The issue
 I mentioned only seems to occur when doing larger block reads/writes
 from/to disk (SATA), like untarring firefox.  I didn't notice it
 so far when some kind of mixed disk access is going on, like with
 find, compiling, etc.  Maybe that points to some locking issues in
 the VM corner?  I mean, it's not dramatic, but still makes the
 system appear a bit unpolished, when it happens.  In the past, with
 pre-5.x releases, FreeBSD has been scheduling disk i/o and interactive
 work smoothly, in my experience, so one didn't quite notice when
 heavy disk access was going on, at least not if your interactive
 programs weren't doing much disk i/o themselves.
 

Not sure about desktop machines, probably depends on what exactly you're
doing.  At least it affects real-world scenarios, see my original message
to this list:

http://lists.freebsd.org/pipermail/freebsd-stable/2005-March/013036.html

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgpIDm1GO81J0.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Nate Lawson
Christian Brueffer wrote:
On Sun, Apr 03, 2005 at 12:07:14PM -0400, Pierre-Luc Drouin wrote:
Christian Brueffer wrote:

On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my 
computer is hanging badly under load. I've a P4 2.53 GHz without 
hyperthreading (no SMP). I use the same kernel configurations than 
before. Now when I compile a port for example, the mouse pointer hangs 
in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
screen. Even vi hangs. I do not see any warning/error message. Is it a 
known problem with 5.4?

I have experienced something similar, putting the following into rc.conf
worked for me:
performance_cpu_freq=HIGH
- Christian

Yes, this seams to fix it. I didn't know that I had a laptop? :)

Good to hear.
Nate, this regression was introduced during the cpufreq and friends MFC.
Is switching the performance_cpu_freq default to HIGH the way to go for
5.4-RELEASE?
- Christian
As you can see from etc/defaults/rc.conf on both -current and RELENG_5, 
we don't currently change the frequency at all:

performance_cpu_freq=NONE # Online CPU frequency
economy_cpu_freq=NONE # Offline CPU frequency
However, it sounds like his system's BIOS is booting up with a low 
acpi_throttle setting (probably the lowest one, 12.5% on many systems) 
and so he is seeing very slow performance.  (Only the acpi_throttle 
cpufreq driver has been MFCd for the 5.4 release and the others will 
follow the release.)  Initially, I thought it was safest not to even 
touch the frequency but it looks like it is necessary for some systems 
to always force it high by default.

I'll change the default to HIGH so that we always put systems in the 
fastest performance mode by default.  It will be MFCd quickly as well.

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


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Matthias Buelow
Kris Kennaway wrote:

  I'm not under the impression that my CPU is running at a lower
 frequency.
OK, but did you try the workaround?

I have now and it doesn't make any difference.

mkb.

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


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Kris Kennaway
On Sun, Apr 03, 2005 at 11:51:43PM +0200, Matthias Buelow wrote:
 Kris Kennaway wrote:
 
   I'm not under the impression that my CPU is running at a lower
  frequency.
 OK, but did you try the workaround?
 
 I have now and it doesn't make any difference.

OK, must be a different problem then.

Kris 

pgpbV3bmFBj9P.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Christian Brueffer
On Sun, Apr 03, 2005 at 02:45:40PM -0700, Nate Lawson wrote:
 Christian Brueffer wrote:
 On Sun, Apr 03, 2005 at 12:07:14PM -0400, Pierre-Luc Drouin wrote:
 
 Christian Brueffer wrote:
 
 
 On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:
 
 Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that 
 my computer is hanging badly under load. I've a P4 2.53 GHz without 
 hyperthreading (no SMP). I use the same kernel configurations than 
 before. Now when I compile a port for example, the mouse pointer hangs 
 in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
 screen. Even vi hangs. I do not see any warning/error message. Is it a 
 known problem with 5.4?
 
 
 I have experienced something similar, putting the following into rc.conf
 worked for me:
 
 performance_cpu_freq=HIGH
 
 - Christian
 
 
 
 Yes, this seams to fix it. I didn't know that I had a laptop? :)
 
 
 
 Good to hear.
 
 Nate, this regression was introduced during the cpufreq and friends MFC.
 Is switching the performance_cpu_freq default to HIGH the way to go for
 5.4-RELEASE?
 
 - Christian
 
 
 As you can see from etc/defaults/rc.conf on both -current and RELENG_5, 
 we don't currently change the frequency at all:
 
 performance_cpu_freq=NONE # Online CPU frequency
 economy_cpu_freq=NONE # Offline CPU frequency
 
 However, it sounds like his system's BIOS is booting up with a low 
 acpi_throttle setting (probably the lowest one, 12.5% on many systems) 
 and so he is seeing very slow performance.  (Only the acpi_throttle 
 cpufreq driver has been MFCd for the 5.4 release and the others will 
 follow the release.)  Initially, I thought it was safest not to even 
 touch the frequency but it looks like it is necessary for some systems 
 to always force it high by default.
 
 I'll change the default to HIGH so that we always put systems in the 
 fastest performance mode by default.  It will be MFCd quickly as well.
 

Great, thanks!

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgpGGXvLHnPwt.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Greg 'groggy' Lehey
On Sunday,  3 April 2005 at 14:45:40 -0700, Nate Lawson wrote:
 Christian Brueffer wrote:
 On Sun, Apr 03, 2005 at 12:07:14PM -0400, Pierre-Luc Drouin wrote:
 Christian Brueffer wrote:
 On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:

 Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that
 my computer is hanging badly under load. I've a P4 2.53 GHz without
 hyperthreading (no SMP). I use the same kernel configurations than
 before. Now when I compile a port for example, the mouse pointer hangs
 in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the
 screen. Even vi hangs. I do not see any warning/error message. Is it a
 known problem with 5.4?

 I have experienced something similar, putting the following into rc.conf
 worked for me:

 performance_cpu_freq=HIGH

 Yes, this seams to fix it. I didn't know that I had a laptop? :)

 Good to hear.

 Nate, this regression was introduced during the cpufreq and friends MFC.
 Is switching the performance_cpu_freq default to HIGH the way to go for
 5.4-RELEASE?

 As you can see from etc/defaults/rc.conf on both -current and RELENG_5,
 we don't currently change the frequency at all:

 performance_cpu_freq=NONE # Online CPU frequency
 economy_cpu_freq=NONE # Offline CPU frequency

 However, it sounds like his system's BIOS is booting up with a low
 acpi_throttle setting (probably the lowest one, 12.5% on many systems)
 and so he is seeing very slow performance.  (Only the acpi_throttle
 cpufreq driver has been MFCd for the 5.4 release and the others will
 follow the release.)  Initially, I thought it was safest not to even
 touch the frequency but it looks like it is necessary for some systems
 to always force it high by default.

I'm experiencing similar issues.  How can I confirm that this is the
case without rebooting the machine (which would be inconvenient)?  Is
there some sysctl that tells me?  I've taken a look, but I don't see
anything obvious.

Greg
--
See complete headers for address and phone numbers.


pgpuWiaFyppGe.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Nate Lawson
Greg 'groggy' Lehey wrote:
On Sunday,  3 April 2005 at 14:45:40 -0700, Nate Lawson wrote:
Christian Brueffer wrote:
On Sun, Apr 03, 2005 at 12:07:14PM -0400, Pierre-Luc Drouin wrote:
Christian Brueffer wrote:
On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote:

Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that
my computer is hanging badly under load. I've a P4 2.53 GHz without
hyperthreading (no SMP). I use the same kernel configurations than
before. Now when I compile a port for example, the mouse pointer hangs
in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the
screen. Even vi hangs. I do not see any warning/error message. Is it a
known problem with 5.4?
I have experienced something similar, putting the following into rc.conf
worked for me:
performance_cpu_freq=HIGH
Yes, this seams to fix it. I didn't know that I had a laptop? :)
Good to hear.
Nate, this regression was introduced during the cpufreq and friends MFC.
Is switching the performance_cpu_freq default to HIGH the way to go for
5.4-RELEASE?
As you can see from etc/defaults/rc.conf on both -current and RELENG_5,
we don't currently change the frequency at all:
performance_cpu_freq=NONE # Online CPU frequency
economy_cpu_freq=NONE # Offline CPU frequency
However, it sounds like his system's BIOS is booting up with a low
acpi_throttle setting (probably the lowest one, 12.5% on many systems)
and so he is seeing very slow performance.  (Only the acpi_throttle
cpufreq driver has been MFCd for the 5.4 release and the others will
follow the release.)  Initially, I thought it was safest not to even
touch the frequency but it looks like it is necessary for some systems
to always force it high by default.

I'm experiencing similar issues.  How can I confirm that this is the
case without rebooting the machine (which would be inconvenient)?  Is
there some sysctl that tells me?  I've taken a look, but I don't see
anything obvious.
sysctl dev.cpu and look at the current frequency setting.  If low, then 
your system is affected and will be fixed soon when I mfc.  If not, 
perhaps you have an interrupt storm (vmstat -i)

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


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Greg 'groggy' Lehey
On Sunday,  3 April 2005 at 21:43:57 -0700, Nate Lawson wrote:
 Greg 'groggy' Lehey wrote:

 I'm experiencing similar issues.  How can I confirm that this is the
 case without rebooting the machine (which would be inconvenient)?  Is
 there some sysctl that tells me?  I've taken a look, but I don't see
 anything obvious.

 sysctl dev.cpu and look at the current frequency setting.

There's nothing there that reaches out and grabs me:

  dev.cpu.0.%desc: ACPI CPU
  dev.cpu.0.%driver: cpu
  dev.cpu.0.%location: handle=\_PR_.CPU0
  dev.cpu.0.%pnpinfo: _HID=none _UID=0
  dev.cpu.0.%parent: acpi0

 If low, then your system is affected and will be fixed soon when I
 mfc.  If not, perhaps you have an interrupt storm (vmstat -i)

No, nothing there:

  interrupt  total   rate
  irq0: clk  184217768100
  irq1: atkbd0 554  0
  irq4: sio0  31529039 17
  irq7: ppc047  0
  irq8: rtc  235761929128
  irq11: xl0 ohci1   555868535301
  irq14: ata0 19980318 10
  irq15: ata1169418181 91
  Total 1196776371649

Greg
--
See complete headers for address and phone numbers.


pgprFQ8xDFNpy.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Nate Lawson
Greg 'groggy' Lehey wrote:
On Sunday,  3 April 2005 at 21:43:57 -0700, Nate Lawson wrote:
Greg 'groggy' Lehey wrote:
I'm experiencing similar issues.  How can I confirm that this is the
case without rebooting the machine (which would be inconvenient)?  Is
there some sysctl that tells me?  I've taken a look, but I don't see
anything obvious.
sysctl dev.cpu and look at the current frequency setting.

There's nothing there that reaches out and grabs me:
  dev.cpu.0.%desc: ACPI CPU
  dev.cpu.0.%driver: cpu
  dev.cpu.0.%location: handle=\_PR_.CPU0
  dev.cpu.0.%pnpinfo: _HID=none _UID=0
  dev.cpu.0.%parent: acpi0
Not it.  You have no acpi_throttle support, thus cpufreq is a no-op on 
your system.

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


Re: 5.4-prerelease - hanging under load

2005-04-03 Thread Greg 'groggy' Lehey
On Sunday,  3 April 2005 at 21:59:45 -0700, Nate Lawson wrote:
 Greg 'groggy' Lehey wrote:
 On Sunday,  3 April 2005 at 21:43:57 -0700, Nate Lawson wrote:
 Greg 'groggy' Lehey wrote:
 I'm experiencing similar issues.  How can I confirm that this is the
 case without rebooting the machine (which would be inconvenient)?  Is
 there some sysctl that tells me?  I've taken a look, but I don't see
 anything obvious.

 sysctl dev.cpu and look at the current frequency setting.

 There's nothing there that reaches out and grabs me:

  dev.cpu.0.%desc: ACPI CPU
  dev.cpu.0.%driver: cpu
  dev.cpu.0.%location: handle=\_PR_.CPU0
  dev.cpu.0.%pnpinfo: _HID=none _UID=0
  dev.cpu.0.%parent: acpi0

 Not it.  You have no acpi_throttle support, thus cpufreq is a no-op on
 your system.

OK, so it's a different issue that I have?  Or does the lack of
acpi_throttle support automatically cause a problem?

Greg
--
See complete headers for address and phone numbers.


pgp1hrnznJaWQ.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Matthias Buelow
Pierre-Luc Drouin wrote:

Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my 
computer is hanging badly under load. I've a P4 2.53 GHz without 
hyperthreading (no SMP). I use the same kernel configurations than 
before. Now when I compile a port for example, the mouse pointer hangs 
in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
screen. Even vi hangs. I do not see any warning/error message. Is it a 
known problem with 5.4?

Not quite as dramatic here, but when, say, the firefox source gets
untarred, my machine becomes quite unresponsive, including audio
decoding (xmms) stuttering and the mouse cursor jumping around.
Haven't seen the likes since the 486 days.  This is 5.4-PRERELEASE
on a P4 3GHz.  Perhaps some badly balanced scheduler stuff?

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


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Kris Kennaway
On Sun, Apr 03, 2005 at 04:33:49AM +0200, Matthias Buelow wrote:
 Pierre-Luc Drouin wrote:
 
 Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that my 
 computer is hanging badly under load. I've a P4 2.53 GHz without 
 hyperthreading (no SMP). I use the same kernel configurations than 
 before. Now when I compile a port for example, the mouse pointer hangs 
 in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the 
 screen. Even vi hangs. I do not see any warning/error message. Is it a 
 known problem with 5.4?
 
 Not quite as dramatic here, but when, say, the firefox source gets
 untarred, my machine becomes quite unresponsive, including audio
 decoding (xmms) stuttering and the mouse cursor jumping around.
 Haven't seen the likes since the 486 days.  This is 5.4-PRERELEASE
 on a P4 3GHz.  Perhaps some badly balanced scheduler stuff?

You both forgot to mention which scheduler ;-)

Kris


pgpyl7SA9ofnP.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Matthias Buelow
Kris Kennaway wrote:
You both forgot to mention which scheduler ;-)

Uhm, how should I know?  The default thingy, I haven't changed
anything.

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


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Kris Kennaway
On Sun, Apr 03, 2005 at 07:00:35AM +0200, Matthias Buelow wrote:
 Kris Kennaway wrote:
 You both forgot to mention which scheduler ;-)
 
 Uhm, how should I know?

Check your kernel config.

 The default thingy, I haven't changed
 anything.

SCHED_4BSD, then.

Kris

pgpxzgu1YCV8G.pgp
Description: PGP signature


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Matthias Buelow
Kris Kennaway wrote:

Check your kernel config.
SCHED_4BSD, then.

options SCHED_4BSD  # 4BSD scheduler

yes.

mkb.

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


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Pierre-Luc Drouin
Matthias Buelow wrote:
Kris Kennaway wrote:
 

Check your kernel config.
SCHED_4BSD, then.
   

options SCHED_4BSD  # 4BSD scheduler
yes.
mkb.
 

I have this option too. Do I have to change it for something else?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-prerelease - hanging under load

2005-04-02 Thread Kris Kennaway
On Sun, Apr 03, 2005 at 12:22:30AM -0500, Pierre-Luc Drouin wrote:
 Matthias Buelow wrote:
 
 Kris Kennaway wrote:
 
  
 
 Check your kernel config.
 SCHED_4BSD, then.

 
 
 options SCHED_4BSD  # 4BSD scheduler
 
 yes.
 
 mkb.
 
 
  
 
 
 I have this option too. Do I have to change it for something else?

No, but it's important to know to complete the bug report.

Kris


pgpBtGg1Qiwi1.pgp
Description: PGP signature