Re: Kernel 2.6 SMP very slow with ServerWorks LE Chipset

2006-12-03 Thread Bob

Bob wrote:

Oleg Verych wrote:

8 8 snip

Sorry for the delay, RL has been rather demanding of late.

I've installed 2.6.18 from sid but it's displaying the same problems.

As a test of CPU power I've been decompressing the kernel tree, with a 
UP 2.6 kernel this takes about 1m 15s, I don't know if bz2 is 
multithreaded but even if it's not I would expect a slight speed 
increase but in fact with a SMP 2.6 kernel it take 13 ~ 15m, with a SMP 
2.4 kernel it takes 1m 28s and with a 2.4 UP 1m 35s.


with 2.6.18 from sid I get

nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:40 MB in  2.22 seconds =  18.04 MB/sec
 Timing buffered disk reads:  200 MB in  3.01 seconds =  66.47 MB/sec
nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   756 MB in  2.01 seconds = 376.74 MB/sec
 Timing buffered disk reads:8 MB in  3.68 seconds =   2.17 MB/sec
nas:~#

As you can see it's variable, I've got hda plugged into a SiI680 PCI 
card as the ServerWorks IDE chipset is not so good.


This is driving me nuts, any more ideas, I'll have a go at bugzilla later.

Thanks for the help.


Sorry, bad form and all that but I just compiled 2.6.19,
decompressing the 2.6.18 kernel tree in SMP took 26m and

nas:~# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads:36 MB in  2.00 seconds =  17.96 MB/sec
Timing buffered disk reads:   10 MB in  3.04 seconds =   3.29 MB/sec
nas:~# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads:   772 MB in  2.01 seconds = 384.53 MB/sec
Timing buffered disk reads:   10 MB in  3.25 seconds =   3.08 MB/sec
nas:~#

I was thinking of joining the linux.kernel mailing list and posting
this there, is that a good idea?

nas:~# dmesg
Linux version 2.6.19.smp.1.0cur_dls ([EMAIL PROTECTED]) (gcc version 3.3.5 
(Debian 1:3.3.5-13)) #1 SMP Sun Dec 3 14:55:47 SGT 2006
BIOS-provided physical RAM map:
BIOS-e820:  - 0009d400 (usable)
BIOS-e820: 0009d400 - 000a (reserved)
BIOS-e820: 000eac00 - 0010 (reserved)
BIOS-e820: 0010 - 1fff (usable)
BIOS-e820: 1fff - 1c00 (ACPI data)
BIOS-e820: 1c00 - 2000 (ACPI NVS)
BIOS-e820: fec0 - fec1 (reserved)
BIOS-e820: fee0 - fee01000 (reserved)
BIOS-e820: fff8 - 0001 (reserved)
511MB LOWMEM available.
found SMP MP-table at 000f6f60
Entering add_active_range(0, 0, 131056) 0 entries of 256 used
Zone PFN ranges:
DMA 0 - 4096
Normal   4096 -   131056
early_node_map[1] active PFN ranges
  0:0 -   131056
On node 0 totalpages: 131056
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 991 pages used for memmap
Normal zone: 125969 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6f40
ACPI: RSDT (v001 HP HWPC20F  0x06040012  PTL 0x) @ 0x1fffc5eb
ACPI: FADT (v001 HP HWPC20F  0x06040012 PTL  0x0001) @ 0x1b05
ACPI: MADT (v001 PTLTDAPIC   0x06040012  LTP 0x) @ 0x1b79
ACPI: BOOT (v001 HP HWPC20F  0x06040012  PTL 0x0001) @ 0x1bd9
ACPI: DSDT (v001 HP  HWPC20F 0x06040012 MSFT 0x010b) @ 0x
ACPI: PM-Timer IO Port: 0x1208
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x03] enabled)
Processor #3 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec0, GSI 0-15
ACPI: IOAPIC (id[0x02] address[0xfec01000] gsi_base[16])
IOAPIC[1]: apic_id 2, version 17, address 0xfec01000, GSI 16-31
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 2 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 3000 (gap: 2000:dec0)
Detected 666.711 MHz processor.
Built 1 zonelists.  Total pages: 130033
Kernel command line: root=/dev/hda1 ro
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
mapped IOAPIC to b000 (fec01000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 516352k/524224k available (1771k kernel code, 7376k reserved, 610k 
data, 200k init, 0k highmem)
virtual kernel memory layout:
  fixmap  : 0xfffb7000 - 0xf000   ( 288 kB)
  vmalloc : 0xd080 - 0xfffb5000   ( 759 MB)
  lowmem  : 0xb000 - 0xcfff   ( 511 MB)
.init : 0xb0359000 - 0xb038b000   ( 200 kB)
.data : 0xb02bac44 - 0xb03535b0   ( 610 kB)
.text : 

Re: Kernel 2.6 SMP very slow with ServerWorks LE Chipset

2006-12-01 Thread Bob

Oleg Verych wrote:

On 2006-11-21, Bob [EMAIL PROTECTED] wrote:
[]

How about 2.6.18 from sid? If also bad, try bugzilla on kernel.org, or
lkml.
Is it possible to do this without migrating the whole system to sid? I 
can't see a backport, one option would be if someone could post the 
.config file I could compile it in the same way.


Sure. And even in various ways, including downloading deb and installing it
by hands. But debian way is simpler and better, see man apt_preferences.

Kernel is special, any regression users or developers not aware of, may
propagate for long time. And finally, when you catch something, the only
way is to contact upstream developers in lkml. I think, Debian Kernel
Team will be interested only in security stuff. So, deb kernel in Sid
is something in between.


Sorry for the delay, RL has been rather demanding of late.

I've installed 2.6.18 from sid but it's displaying the same problems.

As a test of CPU power I've been decompressing the kernel tree, with a 
UP 2.6 kernel this takes about 1m 15s, I don't know if bz2 is 
multithreaded but even if it's not I would expect a slight speed 
increase but in fact with a SMP 2.6 kernel it take 13 ~ 15m, with a SMP 
2.4 kernel it takes 1m 28s and with a 2.4 UP 1m 35s.


with 2.6.18 from sid I get

nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:40 MB in  2.22 seconds =  18.04 MB/sec
 Timing buffered disk reads:  200 MB in  3.01 seconds =  66.47 MB/sec
nas:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   756 MB in  2.01 seconds = 376.74 MB/sec
 Timing buffered disk reads:8 MB in  3.68 seconds =   2.17 MB/sec
nas:~#

As you can see it's variable, I've got hda plugged into a SiI680 PCI 
card as the ServerWorks IDE chipset is not so good.


This is driving me nuts, any more ideas, I'll have a go at bugzilla later.

Thanks for the help.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]