Re: X11 very slow with SMP kernel

2007-10-08 Thread Karl Sjodahl - dunceor
On 10/7/07, Jona Joachim [EMAIL PROTECTED] wrote:
 On Sun, 07 Oct 2007 19:21:59 +0200
 [EMAIL PROTECTED] (Peter N. M. Hansteen) wrote:

  Jona Joachim [EMAIL PROTECTED] writes:
 
   I can see X redraw the screen top down very slowly when I use the
   SMP kernel on my Thinkpad T60. I can actually see it draw the
   background first and then every widget one by one. I don't see this
   behaviour when I use GENERIC.
 
  It's been discussed on the list recently, the short version is that
  you may find that enabling acpi in the MP kernel will speed up your
  system.
 
  http://marc.info/?l=openbsd-miscm=118836844303217w=2 gives you the
  main bits.
 
  Hope this helps,

 Thanks a lot, it also helped in my case!
 I was reluctant to enable acpi because the man page says it could cause
 overheating because the kernel takes thermal control from the bios but
 doesn't provide any thermal regulation functionality.
 Does my laptop risk overheating when I enable acpi?

 Regards,
 Jona

 --
 I am chaos. I am the substance from which your artists and scientists
 build rhythms. I am the spirit with which your children and clowns
 laugh in happy anarchy. I am chaos. I am alive, and tell you that you
 are free. Eris, Goddess Of Chaos, Discord  Confusion



 Does my laptop risk overheating when I enable acpi?
The answer is dependent on how old your laptop is.
My old Compaq Presario 2100 did not work with ACPI enable because it
couldn't control the thermal functionality. But my new laptop (macbook
2,1) it works great with acpi and is needed to get some stuff working.

So I suggest you try enable ACPI and see what happens. If you laptop
can't control the thermal functionality it will most likely just turn
of and then you just need to install it again without ACPI and you'll
be fine. The laptop it self has a protection that it turns if off if
it feels it to hot so you won't burn anything.

BR
Dunceor



X11 very slow with SMP kernel

2007-10-07 Thread Jona Joachim
Hi!
I can see X redraw the screen top down very slowly when I use the SMP
kernel on my Thinkpad T60. I can actually see it draw the background
first and then every widget one by one. I don't see this behaviour when
I use GENERIC.
I use an the amd64 kernel.
I tried with a 2 month old snapshot and a freshly built GENERIC.MP
checked out this afternoon with the same result.

spaceman% uname -a
OpenBSD spaceman.my.domain 4.2 GENERIC.MP#0 amd64

dmesg: http://www.hcl-club.lu/~jaj/foo/dmesg
`X -version`: http://www.hcl-club.lu/~jaj/foo/xversion

Is this a know issue?
Do I need to rebuild Xenocara with special knobs to use it with bsd.mp?
Could you point me into a direction to further investigate this?

Best regards,
Jona



Re: X11 very slow with SMP kernel

2007-10-07 Thread Peter N. M. Hansteen
Jona Joachim [EMAIL PROTECTED] writes:

 I can see X redraw the screen top down very slowly when I use the SMP
 kernel on my Thinkpad T60. I can actually see it draw the background
 first and then every widget one by one. I don't see this behaviour when
 I use GENERIC.

It's been discussed on the list recently, the short version is that
you may find that enabling acpi in the MP kernel will speed up your
system.

http://marc.info/?l=openbsd-miscm=118836844303217w=2 gives you the
main bits.

Hope this helps,
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: X11 very slow with SMP kernel

2007-10-07 Thread Jona Joachim
On Sun, 07 Oct 2007 19:21:59 +0200
[EMAIL PROTECTED] (Peter N. M. Hansteen) wrote:

 Jona Joachim [EMAIL PROTECTED] writes:
 
  I can see X redraw the screen top down very slowly when I use the
  SMP kernel on my Thinkpad T60. I can actually see it draw the
  background first and then every widget one by one. I don't see this
  behaviour when I use GENERIC.
 
 It's been discussed on the list recently, the short version is that
 you may find that enabling acpi in the MP kernel will speed up your
 system.
 
 http://marc.info/?l=openbsd-miscm=118836844303217w=2 gives you the
 main bits.
 
 Hope this helps,

Thanks a lot, it also helped in my case!
I was reluctant to enable acpi because the man page says it could cause
overheating because the kernel takes thermal control from the bios but
doesn't provide any thermal regulation functionality.
Does my laptop risk overheating when I enable acpi?

Regards,
Jona

-- 
I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free. Eris, Goddess Of Chaos, Discord  Confusion



Re: X11 very slow with SMP kernel

2007-10-07 Thread Peter N. M. Hansteen
Jona Joachim [EMAIL PROTECTED] writes:

 Thanks a lot, it also helped in my case!

good.

 I was reluctant to enable acpi because the man page says it could cause
 overheating because the kernel takes thermal control from the bios but
 doesn't provide any thermal regulation functionality.
 Does my laptop risk overheating when I enable acpi?

I haven't noticed any difference in temperature, at least. sysctl hw output:

[EMAIL PROTECTED]:~$ sysctl hw  
hw.machine=i386
hw.model=Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class)
hw.ncpu=2
hw.byteorder=1234
hw.physmem=2145808384
hw.usermem=2145796096
hw.pagesize=4096
hw.disknames=cd0,sd0
hw.diskcount=2
hw.sensors.cpu0.temp0=51.00 degC
hw.sensors.wpi0.raw0=137 (temperature 0 - 285)
hw.sensors.aps0.temp0=42.00 degC
hw.sensors.aps0.temp1=42.00 degC
hw.sensors.aps0.indicator0=On (Keyboard Active)
hw.sensors.aps0.indicator1=Off (Mouse Active)
hw.sensors.aps0.indicator2=On (Lid Open)
hw.sensors.aps0.raw0=508 (X_ACCEL)
hw.sensors.aps0.raw1=506 (Y_ACCEL)
hw.sensors.aps0.raw2=508 (X_VAR)
hw.sensors.aps0.raw3=506 (Y_VAR)
hw.cpuspeed=1829
hw.setperf=100
hw.vendor=LENOVO
hw.product=946154G
hw.version=ThinkPad R60
hw.serialno=L3B0887
hw.uuid=4e92a801-48ac-11cb-8704-ef6f55e83b86


-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.