[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Berried Question



On Thursday 15 January 2004 06:14 pm, Christian Schnobrich wrote:
> On Fri, 2004-01-16 at 01:32, Dennis Kaplan wrote:
> > Hi all,
> >
> > Intel 1000 MHz, 1000Mb Ram, 40 + 20GB HD
> >
> >
> > The problem is the CPU load when idle it runs between 5-30 %
> > As soon as I start an application it goes up to 100% and stays there till
> > the application is done loading. Loading an application like Kmail takes
> > about 2 to 3 minutes.
>
> Well, my first guess would be that your disk acess is way too slow.
> but I see nothing that's obviously wrong... hmm.
>

My dma was off I had to change hdparm.conf and it seams to work fine now.


> > /dev/hda:
> >  multcount    = 16 (on)
> >  IO_support   =  1 (32-bit)
> >  unmaskirq    =  1 (on)
> >  using_dma    =  1 (on)
> >  keepsettings =  0 (off)
> >  readonly     =  0 (off)
> >  readahead    =  8 (on)
> >  geometry     = 2498/255/63, sectors = 40132503, start = 0
> >  Timing buffer-cache reads:   172 MB in  2.00 seconds =  86.00 MB/sec
> >  Timing buffered disk reads:   72 MB in  3.05 seconds =  23.61 MB/sec
>
> Just for comparison, here's what I get (Athlon 650 and never bothered
> about speed):
> /dev/hdc:
>  [...identical...]
>  geometry     = 155061/16/63, sectors = 156301488, start = 0
>  busstate     =  1 (on)
>  Timing buffer-cache reads:   128 MB in  0.90 seconds =142.22 MB/sec
>  Timing buffered disk reads:  64 MB in  2.54 seconds = 25.20 MB/sec
>
> Your system might be slower as it could be, but this minimal difference
> can't account for your problems.
>

I agree I don't think the problem is the HD but here is what I get on an 
Athlon 700.

root@rebel:/# hdparm -Tt /dev/hdb

/dev/hdb:
 Timing buffer-cache reads:   596 MB in  2.01 seconds = 296.52 MB/sec
 Timing buffered disk reads:   34 MB in  3.11 seconds =  10.93 MB/sec


> Looking at your 'top' ouput also tells me little. top itself using 26%
> cpu is conspicious, even a 486 should be content at less than 10%. This
> should also rule out disk I/O as the drain, as AFAIK there is no disk
> I/O with top (at least not in normal usage) and it's still affected.
>
> Comparing mem usage to mem%, your system knows it has one gig available.
> Would have been another guess...
>
> You're running X as root, which /always/ is a bad thing to do. Yes, this
> has nothing to do with the task at hand. Still, you should change this
> behaviour.
>
Well after installing the OS for like 7 times I figured I get it first to run 
before I make any changes, because if I can't get this going I will have to 
go back to win2000 on this box, which I don't want to do.

> Did you go over the output of dmesg? Perhaps it is something silly, like
> the kernel not liking your fpu and using emulation instead?
>

I compared Floating-Point Unit output to my other AMD box and it seams to be 
OK. I have added the boot.message at the bottom maybe you can see something 
else.

-- 
Dennis Kaplan

http://vmclinks.com
http://guyscope.com

Linux version 2.4.21-xfs (root@omega) (gcc version 3.2.3 (Debian)) #13 SMP Tue 
Aug 26 01:46:14 CEST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000dc000 - 00000000000e0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003f7f0000 (usable)
 BIOS-e820: 000000003f7f0000 - 000000003f7f8000 (ACPI data)
 BIOS-e820: 000000003f7f8000 - 000000003f800000 (ACPI NVS)
 BIOS-e820: 00000000ffef0000 - 00000000fff00000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
119MB HIGHMEM available.
896MB LOWMEM available.
ACPI: have wakeup address 0xc0002000
On node 0 totalpages: 260080
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 30704 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=303 hda=scsi hdb=scsi 
hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi noapic acpi=off 
apm=power-off
ide_setup: hda=scsi
ide_setup: hdb=scsi
ide_setup: hdc=scsi
ide_setup: hdd=scsi
ide_setup: hde=scsi
ide_setup: hdf=scsi
ide_setup: hdg=scsi
ide_setup: hdh=scsi
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 1002.278 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1998.84 BogoMIPS
Memory: 1019520k/1040320k available (2536k kernel code, 20412k reserved, 698k 
data, 156k init, 122816k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel(R) Celeron(TM) CPU                1000MHz stepping 01
per-CPU timeslice cutoff: 731.04 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1002.2989 MHz.
..... host bus clock speed is 100.2299 MHz.
cpu: 0, clocks: 1002299, slice: 501149
CPU0<T0:1002288,T1:501136,D:3,S:501149,C:1002299>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
ACPI: Subsystem revision 20030619
ACPI: Disabled via command line (acpi=off)
PCI: PCI BIOS revision 2.10 entry at 0xfd9f8, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router SIS [1039/0008] at 00:01.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
NTFS driver 2.1.4a [Flags: R/W].
udf: registering filesystem
SGI XFS snapshot-xfs-2.4.21-2003-07-07_02:01_UTC with ACLs, realtime, no debug 
enabled
SGI XFS Quota Management subsystem
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI 
ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ipmi: message handler initialized
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:00.1
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS630    ATA 66 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hda: MAXTOR 6L020J1, ATA DISK drive
hdb: WDC WD400AB-00BVA0, ATA DISK drive
hdd: Compaq CD-ROM SC-140E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 40132503 sectors (20548 MB) w/1819KiB Cache, CHS=2498/255/63
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63
ide-cd: passing drive hdd to ide-scsi emulation.
hdd: attached ide-scsi driver.
Partition check:
 hda: hda1 hda2 hda3
 hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 >
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
Highpoint HPT370 Softwareraid driver for linux version 0.01-ww1
No raid array found
No raid array found
No raid array found
Guestimating sector 40130479 for superblock
Guestimating sector 78163769 for superblock
driver for Silicon Image(tm) Medley(tm) hardware version 0.0.1: No raid array 
found
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: Compaq    Model: CD-ROM SC-140E    Rev: PA06
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 4x/40x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  1658.800 MB/sec
   32regs    :  1006.000 MB/sec
   pIII_sse  :  2365.600 MB/sec
   pII_mmx   :  2220.400 MB/sec
   p5_mmx    :  2315.200 MB/sec
raid5: using function: pIII_sse (2365.600 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 4224k freed
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 156k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
blk: queue c04a8e40, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c04a8f8c, I/O limit 4095Mb (mask 0xffffffff)
Adding Swap: 1855468k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
Real Time Clock Driver v1.10e
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: console ready
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
EFS: 1.0a - http://aeschi.ch.eu.org/efs/
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 933M
agpgart: Detected SiS 630 chipset
agpgart: AGP aperture is 64M @ 0xf4000000
cmpci: version $Revision: 5.64 $ time 02:11:11 Aug 26 2003
PCI: Found IRQ 9 for device 00:0f.0
cmpci: found CM8738 adapter at io 0xda00 irq 9
cmpci: chip version = 039
cmpci: Enable SPDIF loop
sis900.c: v1.08.06 9/24/2002
PCI: Found IRQ 11 for device 00:01.1
PCI: Sharing IRQ 11 with 00:0f.1
eth0: SiS 900 Internal MII PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xde00, IRQ 11, 00:07:95:b4:09:1b.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 10 for device 00:01.3
PCI: Sharing IRQ 10 with 00:01.2
PCI: Sharing IRQ 10 with 00:0b.0
usb-ohci.c: USB OHCI at membase 0xf8989000, IRQ 10
usb-ohci.c: usb-00:01.3, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:01.2
PCI: Sharing IRQ 10 with 00:01.3
PCI: Sharing IRQ 10 with 00:0b.0
usb-ohci.c: USB OHCI at membase 0xf898b000, IRQ 10
usb-ohci.c: usb-00:01.2, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: new USB device 00:01.3-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x3f0/0x207) is not claimed by any active 
driver.
hub.c: new USB device 00:01.3-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x4e6/0x2) is not claimed by any active driver.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,71), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,72), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
sisfb: Video ROM found and mapped to c00c0000
sisfb: Framebuffer at 0xe0000000, mapped to 0xf89d3000, size 8192k
sisfb: MMIO at 0xefee0000, mapped to 0xf91d4000, size 128k
sisfb: Memory heap starting at 4096K
[drm] AGP 0.99 on SiS @ 0xf4000000 64MB
[drm] Initialized sis 1.0.0 20010503 on minor 0
eth0: Media Link On 100mbps full-duplex 
eth0: Media Link On 100mbps full-duplex 
Warning: Remapping obsolete /dev/fb* minor 32 to 1
Warning: Remapping obsolete /dev/fb* minor 64 to 2
Warning: Remapping obsolete /dev/fb* minor 96 to 3
Warning: Remapping obsolete /dev/fb* minor 128 to 4
Warning: Remapping obsolete /dev/fb* minor 160 to 5
Warning: Remapping obsolete /dev/fb* minor 192 to 6
Warning: Remapping obsolete /dev/fb* minor 224 to 7
ttyS1: LSR safety check engaged!



Reply to: