www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Intel Quad Core performance on CentOS 5.2 is slower
Goto page Previous  1, 2
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Hardware  
View previous topic :: View next topic  
Author Message
Benjamin Rampe
Guest






PostPosted: Thu Nov 13, 2008 10:01 pm    Post subject: Re: Intel Quad Core performance on CentOS 5.2 is slower Reply with quote

Hi,

viz schrieb:
Quote:
@ General Schvantzkoph: As I wrote before, I cannot go beyond 2.6.23
as some of my applications won't support those kernels.

What kind of application depends on the kernel?
Sounds more like drivers, a hypervisor, or something like this...
Could you provide more details?


Quote:
@ Cork Soaker: Wow! Would you write how can I improve my HD
performance so that it is at least 25% of the one you are getting
there? Smile

Don't mix cached reads and buffered reads...
200MB/s cached reads -- not impressive. I didn't even find an old system
around here with less than 700MB/s cached reads.

You want to know what throughput you get from actually reading from the
plattern.


Quote:
$ sudo /sbin/lspci
[..]
00:1a.0 USB Controller: Intel Corporation ICH10 USB UHCI Controller #4
[..]
00:1b.0 Audio device: Intel Corporation ICH10 HD Audio Controller
[..]
00:1c.0 PCI bridge: Intel Corporation ICH10 PCI Express Port 1
[..]
00:1d.7 USB Controller: Intel Corporation ICH10 USB2 EHCI Controller
[..]
00:1f.2 IDE interface: Intel Corporation ICH10 4 port SATA IDE
Controller
00:1f.3 SMBus: Intel Corporation ICH10 SMBus Controller
00:1f.5 IDE interface: Intel Corporation ICH10 2 port SATA IDE
Controller
[..]
03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE
controller

ICH10 and JMicron IDE interface...
Both are not supported by the stock 2.6.18 -- relying on a vendor to patch

* you have no support by Redhat because you did not pay for RHEL
* you use an OS that started using a kernel from two years ago
* you have applications that hinder you from using a necessary kernel

I do not see an approach aside from trying 2.6.23. If that fails, you
might try a newer one and risk the support of your applications -- or
did you mean they will not even run?


Regards
Benjamin
Back to top
Whoever
Guest






PostPosted: Fri Nov 14, 2008 1:16 am    Post subject: Re: Intel Quad Core performance on CentOS 5.2 is slower Reply with quote

On Wed, 12 Nov 2008, General Schvantzkoph wrote:

Quote:
On Wed, 12 Nov 2008 10:12:26 -0800, viz wrote:

Specifically output of lshw-gui for IDE Channel 0 -> ATA Disk is as
follows:

ATA Disk
/0/0
product: ST3320620AS
vendor: Seagate
bus info: ide@0.0
logical name: /dev/hda
version: 3.AAE
serial: 6QF3RMR9
size: 298GiB (320GB)
capabilities:
ATA,
Direct Memory Access,
Large Block Addressing,
I/O ready reporting,
S.M.A.R.T. (Self-Monitoring And Reporting Technology), ATA
security
extensions,
Power Management,
Partitioned disk,
MS-DOS partition table
configuration:
mode: udma2
signature: f392e570
smart: on
-----------------------

The output of Motherboard -> Host Bridge -> IDE Interface is as follows:
IDE interface
/2/100/1f.2
product: ICH10 4 port SATA IDE Controller vendor: Intel Corporation
bus info: pci@0000:00:1f.2
version: 00
width: 32 bits
clock: 66MHz
capabilities:
ide,
Power Management,
bus mastering,
PCI capabilities listing
configuration:
latency: 0
this device hasn't been claimed
----------------------
Sincerely,

Kumar Vijay Mishra.


Have you tried a newer kernel yet? The 2.6.18 kernel predated the Core2,
the drivers in it are for ICH9, I'm pretty sure ICH10 came out after
2.6.18. Redhat doesn't bother updating their kernel for desktop hardware.

As a general statement, this is not true -- I have had desktop machines
that were not supported by a early versions of RHEL V.4, but were
supported by later kernel updates. I'm not going to claim that this is
true for all desktop hardware.

Nevertheless, those Desktop machines ran a kernel that I built until the
necessary support was added by Red Hat.

When the OP claims that the application software "won't support" the newer
kernel -- it's unlikely that it won't work. More likely, the supplier
won't provide support for any issues when running under that version of
the kernel.


Quote:
The best way to get proper driver support is to put on a later kernel,
I'm using 2.6.24.7 on my Core2 system. Building a kernel is easy, just
configure it with make gconfig and then do,


Unfortunately, IMHO, it's not so easy for Red Hat systems. Not only have
you got to make sure that the appropriate hardware is supported, but you
also have to ensure that some specific features are built as modules,
otherwise some of the init scripts (which expect to load those modules)
will fail.
Back to top
General Schvantzkoph
Guest






PostPosted: Fri Nov 14, 2008 1:29 am    Post subject: Re: Intel Quad Core performance on CentOS 5.2 is slower Reply with quote

On Thu, 13 Nov 2008 11:16:10 -0800, Whoever wrote:

Quote:
On Wed, 12 Nov 2008, General Schvantzkoph wrote:

On Wed, 12 Nov 2008 10:12:26 -0800, viz wrote:

Specifically output of lshw-gui for IDE Channel 0 -> ATA Disk is as
follows:

ATA Disk
/0/0
product: ST3320620AS
vendor: Seagate
bus info: ide@0.0
logical name: /dev/hda
version: 3.AAE
serial: 6QF3RMR9
size: 298GiB (320GB)
capabilities:
ATA,
Direct Memory Access,
Large Block Addressing,
I/O ready reporting,
S.M.A.R.T. (Self-Monitoring And Reporting Technology), ATA
security
extensions,
Power Management,
Partitioned disk,
MS-DOS partition table
configuration:
mode: udma2
signature: f392e570
smart: on
-----------------------

The output of Motherboard -> Host Bridge -> IDE Interface is as
follows: IDE interface
/2/100/1f.2
product: ICH10 4 port SATA IDE Controller vendor: Intel Corporation
bus info: pci@0000:00:1f.2
version: 00
width: 32 bits
clock: 66MHz
capabilities:
ide,
Power Management,
bus mastering,
PCI capabilities listing
configuration:
latency: 0
this device hasn't been claimed
----------------------
Sincerely,

Kumar Vijay Mishra.


Have you tried a newer kernel yet? The 2.6.18 kernel predated the
Core2, the drivers in it are for ICH9, I'm pretty sure ICH10 came out
after 2.6.18. Redhat doesn't bother updating their kernel for desktop
hardware.

As a general statement, this is not true -- I have had desktop machines
that were not supported by a early versions of RHEL V.4, but were
supported by later kernel updates. I'm not going to claim that this is
true for all desktop hardware.

Nevertheless, those Desktop machines ran a kernel that I built until the
necessary support was added by Red Hat.

When the OP claims that the application software "won't support" the
newer kernel -- it's unlikely that it won't work. More likely, the
supplier won't provide support for any issues when running under that
version of the kernel.


The best way to get proper driver support is to put on a later kernel,
I'm using 2.6.24.7 on my Core2 system. Building a kernel is easy, just
configure it with make gconfig and then do,


Unfortunately, IMHO, it's not so easy for Red Hat systems. Not only have
you got to make sure that the appropriate hardware is supported, but you
also have to ensure that some specific features are built as modules,
otherwise some of the init scripts (which expect to load those modules)
will fail.

When I build a custom kernel I start with a Redhat .config file and then
do a make gconfig, make any changes that I want, and then do the build.
The make gconfig also has the property of fixing the .config for the
particular kernel that I'm building. The kernel in CentOS is so old that
it's.config file isn't a good choice as a starting point for a recent
kernel, using a Fedora .config is a better bet. 2.6.24 was used in either
F7 or F8, my suggestion would be to look through the RPMs for F7 and F8
and then download the src RPM for a 2.6.4 kernel and then apply
it's .config file to a standard 2.6.24.7 kernel.
Back to top
viz
Guest






PostPosted: Fri Nov 14, 2008 6:33 pm    Post subject: Re: Intel Quad Core performance on CentOS 5.2 is slower Reply with quote

Thanks everyone for your reply.

Finally, I could resolve the issue :-)

1. In BIOS, I enabled "SATA Port0-3 Native Mode" while keeping "SATA
RAID/AHCI Mode" disabled. When I enabled both of them or only the
latter, it lead to "Kernel Panic". Following this, the performance was
very fast (and hdparm showed "sda" instead of "hda").
2. Before this, I tried upgrading/building/compiling my kernel to
2.6.23, 2.6.23.7 and 2.6.24, in that order, and checking the hard-disk
performance. It didn't improve.
3. I also tried changing BIOS settings (i.e. enabling both "SATA RAID/
AHCI Mode" and "SATA Port0-3 Native Mode" or only the former) when I
upgraded to these kernels. However, I didn't try enabling only "SATA
Port 0-3 Native Mode" (that idea clicked me later when I reverted back
to my original kernel: 2.6.1Cool.
4. So I reverted n\back to my original kernel and enabled Native Mode
for SATA and got the performance that I wanted. Here are the results:

$ uname -a
Linux abc.def.ghi.jkl 2.6.18-92.1.18.el5PAE #1 SMP i686 i686 i386 GNU/
Linux

$ sudo /sbin/hdparm /dev/sda
/dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 38913/255/63, sectors = 625140335, start = 0

$ sudo /sbin/hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 7872 MB in 2.00 seconds = 3938.86 MB/sec
Timing buffered disk reads: 226 MB in 3.02 seconds = 74.90 MB/sec

$ sudo /sbin/lspci
00:00.0 Host bridge: Intel Corporation Eaglelake DRAM Controller (rev
02)
00:01.0 PCI bridge: Intel Corporation Eaglelake PCI Express Root Port
(rev 02)
00:1a.0 USB Controller: Intel Corporation ICH10 USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation ICH10 USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation ICH10 USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation ICH10 USB2 EHCI Controller
#2
00:1b.0 Audio device: Intel Corporation ICH10 HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation ICH10 PCI Express Port 1
00:1c.3 PCI bridge: Intel Corporation ICH10 PCI Express Port 4
00:1c.4 PCI bridge: Intel Corporation ICH10 PCI Express Port 5
00:1c.5 PCI bridge: Intel Corporation ICH10 PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation ICH10 USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation ICH10 USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation ICH10 USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation ICH10 USB2 EHCI Controller
#1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation ICH10 LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation ICH10 4 port SATA IDE
Controller
00:1f.3 SMBus: Intel Corporation ICH10 SMBus Controller
00:1f.5 IDE interface: Intel Corporation ICH10 2 port SATA IDE
Controller
01:00.0 VGA compatible controller: nVidia Corporation Unknown device
06e4 (rev a1)
03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE
controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
06:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23
IEEE-1394a-2000 Controller (PHY/Link)

$ sudo /usr/sbin/lshw -short
H/W path Device Class Description
=====================================================
system EP45-DS3R
/0 bus EP45-DS3R
/0/0 memory 128KiB BIOS
/0/4 processor Intel(R) Core(TM)2 Quad
CPU Q9300
/0/4/a memory 64KiB L1 cache
/0/4/b memory 3MiB L2 cache
/0/4/1.1 processor Logical CPU
/0/4/1.2 processor Logical CPU
/0/4/1.3 processor Logical CPU
/0/4/1.4 processor Logical CPU
/0/19 memory 4GiB System Memory
/0/19/0 memory 2GiB DIMM 800 MHz (1.2 ns)
/0/19/1 memory DIMM [empty]
/0/19/2 memory 2GiB DIMM 800 MHz (1.2 ns)
/0/19/3 memory DIMM [empty]
/0/1 processor
/0/1/1.1 processor Logical CPU
/0/1/1.2 processor Logical CPU
/0/1/1.3 processor Logical CPU
/0/1/1.4 processor Logical CPU
/0/2 processor
/0/2/1.1 processor Logical CPU
/0/2/1.2 processor Logical CPU
/0/2/1.3 processor Logical CPU
/0/2/1.4 processor Logical CPU
/0/3 processor
/0/3/1.1 processor Logical CPU
/0/3/1.2 processor Logical CPU
/0/3/1.3 processor Logical CPU
/0/3/1.4 processor Logical CPU
/0/100 bridge Eaglelake DRAM Controller
/0/100/1 bridge Eaglelake PCI Express Root
Port
/0/100/1/0 display nVidia Corporation
/0/100/1a bus ICH10 USB UHCI Controller #4
/0/100/1a/1 usb3 bus UHCI Host Controller
/0/100/1a.1 bus ICH10 USB UHCI Controller #5
/0/100/1a.1/1 usb4 bus UHCI Host Controller
/0/100/1a.2 bus ICH10 USB UHCI Controller #6
/0/100/1a.2/1 usb5 bus UHCI Host Controller
/0/100/1a.7 bus ICH10 USB2 EHCI Controller
#2
/0/100/1a.7/1 usb1 bus EHCI Host Controller
/0/100/1b multimedia ICH10 HD Audio Controller
/0/100/1c bridge ICH10 PCI Express Port 1
/0/100/1c.3 bridge ICH10 PCI Express Port 4
/0/100/1c.3/0 storage JMB368 IDE controller
/0/100/1c.4 bridge ICH10 PCI Express Port 5
/0/100/1c.4/0 eth0 network RTL8111/8168B PCI Express
Gigabit Ethe
/0/100/1c.5 bridge ICH10 PCI Express Port 6
/0/100/1c.5/0 eth1 network RTL8111/8168B PCI Express
Gigabit Ethe
/0/100/1d bus ICH10 USB UHCI Controller #1
/0/100/1d/1 usb6 bus UHCI Host Controller
/0/100/1d.1 bus ICH10 USB UHCI Controller #2
/0/100/1d.1/1 usb7 bus UHCI Host Controller
/0/100/1d.2 bus ICH10 USB UHCI Controller #3
/0/100/1d.2/1 usb8 bus UHCI Host Controller
/0/100/1d.2/1/1 input USB Keyboard
/0/100/1d.2/1/2 input Microsoft 3-Button Mouse
with IntelliE
/0/100/1d.7 bus ICH10 USB2 EHCI Controller
#1
/0/100/1d.7/1 usb2 bus EHCI Host Controller
/0/100/1e bridge 82801 PCI Bridge
/0/100/1e/7 bus TSB43AB23 IEEE-1394a-2000
Controller (
/0/100/1f bridge ICH10 LPC Interface
Controller
/0/100/1f.2 scsi0 storage ICH10 4 port SATA IDE
Controller
/0/100/1f.2/0 /dev/sda disk 320GB ST3320620AS
/0/100/1f.2/0/1 /dev/sda1 volume 101MiB EXT3 volume
/0/100/1f.2/0/2 /dev/sda2 volume 19GiB EXT3 volume
/0/100/1f.2/0/3 /dev/sda3 volume 4094MiB Linux swap volume
/0/100/1f.2/0/4 /dev/sda4 volume 274GiB Extended partition
/0/100/1f.2/0/4/5 /dev/sda5 volume 274GiB Linux filesystem
partition
/0/100/1f.2/1 disk DVD RW AD-7200S
/0/100/1f.3 bus ICH10 SMBus Controller
/0/100/1f.5 storage ICH10 2 port SATA IDE
Controller

$ sudo /sbin/lsmod
Module Size Used by
ppdev 12613 0
autofs4 24517 2
nfs 228801 2
lockd 61129 2 nfs
fscache 20321 1 nfs
nfs_acl 7617 1 nfs
vmnet 54996 13
vsock 28992 0
vmci 57952 1 vsock
vmmon 74304 0
sunrpc 144893 4 nfs,lockd,nfs_acl
ip_conntrack_netbios_ns 6977 0
ipt_REJECT 9537 1
xt_state 6209 2
ip_conntrack 53025 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 10713 1 ip_conntrack
xt_tcpudp 7105 4
iptable_filter 7105 1
ip_tables 17029 1 iptable_filter
x_tables 17349 4
ipt_REJECT,xt_state,xt_tcpudp,ip_tables
cpufreq_ondemand 12493 4
acpi_cpufreq 12485 1
dm_mirror 29253 0
dm_multipath 22089 0
dm_mod 61661 2 dm_mirror,dm_multipath
video 21193 0
sbs 18533 0
backlight 10049 1 video
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19289 0
ac 9157 0
ipv6 258145 27
xfrm_nalgo 13765 1 ipv6
crypto_api 11969 1 xfrm_nalgo
lp 15849 0
snd_hda_intel 24793 1
snd_hda_codec 210881 1 snd_hda_intel
snd_seq_dummy 7877 0
snd_seq_oss 32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq 49585 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42945 0
snd_mixer_oss 19009 1 snd_pcm_oss
snd_pcm 72133 3
snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 24517 2 snd_seq,snd_pcm
snd 52421 11
snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
sr_mod 19941 0
soundcore 11553 1 snd
nvidia 6899152 26
cdrom 36705 1 sr_mod
parport_pc 29157 1
snd_page_alloc 14281 2 snd_hda_intel,snd_pcm
i2c_i801 11597 0
parport 37513 3 ppdev,lp,parport_pc
i2c_core 23745 3 i2c_ec,nvidia,i2c_i801
r8169 33097 0
sg 36061 0
pcspkr 7105 0
ata_piix 22341 4
libata 144125 1 ata_piix
sd_mod 24897 5
scsi_mod 134605 4 sr_mod,sg,libata,sd_mod
ext3 123593 3
jbd 56553 1 ext3
uhci_hcd 25549 0
ohci_hcd 23389 0
ehci_hcd 33613 0
------------------------------------------------

Thanks to all who helped.

Sincerely,

Kumar Vijay Mishra.
Back to top
viz
Guest






PostPosted: Fri Nov 14, 2008 6:39 pm    Post subject: Re: Intel Quad Core performance on CentOS 5.2 is slower Reply with quote

@ Benjamin Rampe, Whoever and General Schvantzkoph: Though I got the
desired performance while retaining my original kernel 2.6.18, did you
guys mean that it can be improved even further? I witnessed the HD
performance going up by 25x and I don't know if it can be bettered
more. The datasheet for the hard disk promises a performance of 78 MB/
s max (= "maximum sustained data transfer rate" property in the
datasheet), while hdparm shows the performance around 75 MB/s.

Sincerely,

Kumar Vijay Mishra.
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Hardware Goto page Previous  1, 2  
Page 2 of 2
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum