2006-01-05 09:51:27

by Aniruddh Singh

[permalink] [raw]
Subject: High load

HI all,

I have one compaq server with 4 Intel(R) Xeon cpu's (3.1GHZ), 4GB RAM.
OS:- Fedora Core 2
Kernel:- 2.6.14

when i compile a new kernel, during th compilation process load goes
very high (10 and little above). i can not understand why does this
happen, while if i compile the same kernel on my P4 machine with 1GB ram
and 3GHZ, it remains under 3.

can somebody tell me what is wrong?
-

--
Regards
Aniruddh Singh
System Administrator
Monster.com India Pvt. Ltd.
FC 23, Block B, 1st Floor, Sector 16A
Film City Noida 201301 U.P.



2006-01-05 10:00:59

by Con Kolivas

[permalink] [raw]
Subject: Re: High load

On Thursday 05 January 2006 20:49, Aniruddh Singh wrote:
> HI all,
>
> I have one compaq server with 4 Intel(R) Xeon cpu's (3.1GHZ), 4GB RAM.
> OS:- Fedora Core 2
> Kernel:- 2.6.14
>
> when i compile a new kernel, during th compilation process load goes
> very high (10 and little above). i can not understand why does this
> happen, while if i compile the same kernel on my P4 machine with 1GB ram
> and 3GHZ, it remains under 3.
>
> can somebody tell me what is wrong?
> -

Sounds suspiciously like DMA is not working on your drives. Check your dmesg
logs and what hdparm returns.

Con

2006-01-05 12:29:55

by Aniruddh Singh

[permalink] [raw]
Subject: Re: High load

Hi,

hdparm -tT /dev/cciss/c0d0p2 returns the following

/dev/cciss/c0d0p2:
Timing buffer-cache reads: 2660 MB in 2.00 seconds = 1329.92 MB/sec
Timing buffered disk reads: 248 MB in 3.00 seconds = 82.55 MB/sec

if i try to hdparm -I /dev/cciss/c0d0 it returns
/dev/cciss/c0d0:
operation not supported on SCSI disks

Do i need to installed sdparm and modify some settings?


On Thu, 2006-01-05 at 21:00 +1100, Con Kolivas wrote:
> On Thursday 05 January 2006 20:49, Aniruddh Singh wrote:
> > HI all,
> >
> > I have one compaq server with 4 Intel(R) Xeon cpu's (3.1GHZ), 4GB RAM.
> > OS:- Fedora Core 2
> > Kernel:- 2.6.14
> >
> > when i compile a new kernel, during th compilation process load goes
> > very high (10 and little above). i can not understand why does this
> > happen, while if i compile the same kernel on my P4 machine with 1GB ram
> > and 3GHZ, it remains under 3.
> >
> > can somebody tell me what is wrong?
> > -
>
> Sounds suspiciously like DMA is not working on your drives. Check your dmesg
> logs and what hdparm returns.
>
> Con
--
Regards
Aniruddh Singh
System Administrator
Monster.com India Pvt. Ltd.
FC 23, Block B, 1st Floor, Sector 16A
Film City Noida 201301 U.P.


2006-01-06 12:50:04

by Aniruddh Singh

[permalink] [raw]
Subject: Re: High load

Hi,

there is a raid 0 and raid controller is Smart Array 64xx (rev 01)

hdparm -tT /dev/cciss/c0d0p2 returns the following

/dev/cciss/c0d0p2:
Timing buffer-cache reads: 2660 MB in 2.00 seconds = 1329.92 MB/sec
Timing buffered disk reads: 248 MB in 3.00 seconds = 82.55 MB/sec

if i try to hdparm -I /dev/cciss/c0d0 it returns
/dev/cciss/c0d0:
operation not supported on SCSI disks






On Thu, 2006-01-05 at 21:00 +1100, Con Kolivas wrote:
> On Thursday 05 January 2006 20:49, Aniruddh Singh wrote:
> > HI all,
> >
> > I have one compaq server with 4 Intel(R) Xeon cpu's (3.1GHZ), 4GB RAM.
> > OS:- Fedora Core 2
> > Kernel:- 2.6.14
> >
> > when i compile a new kernel, during th compilation process load goes
> > very high (10 and little above). i can not understand why does this
> > happen, while if i compile the same kernel on my P4 machine with 1GB ram
> > and 3GHZ, it remains under 3.
> >
> > can somebody tell me what is wrong?
> > -
>
> Sounds suspiciously like DMA is not working on your drives. Check your dmesg
> logs and what hdparm returns.
>
> Con
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Regards
Aniruddh Singh
System Administrator
Monster.com India Pvt. Ltd.
FC 23, Block B, 1st Floor, Sector 16A
Film City Noida 201301 U.P.


2006-01-06 12:57:11

by Arjan van de Ven

[permalink] [raw]
Subject: Re: High load

On Fri, 2006-01-06 at 18:06 +0530, Aniruddh Singh wrote:
> Hi,
>
> there is a raid 0 and raid controller is Smart Array 64xx (rev 01)
>
> hdparm -tT /dev/cciss/c0d0p2 returns the following

for measuring IO performance, I'd recommend tiobench over hdparm any day
( http://tiobench.sf.net )



2006-01-06 17:15:42

by Aniruddh Singh

[permalink] [raw]
Subject: Re: High load

On Fri, 2006-01-06 at 13:57 +0100, Arjan van de Ven wrote:
> On Fri, 2006-01-06 at 18:06 +0530, Aniruddh Singh wrote:
> > Hi,
> >
> > there is a raid 0 and raid controller is Smart Array 64xx (rev 01)
> >
> > hdparm -tT /dev/cciss/c0d0p2 returns the following
>
> for measuring IO performance, I'd recommend tiobench over hdparm any day
> ( http://tiobench.sf.net )

i will do it, can you please tell me why load goes high when i compile
kernel (10 and above)
>
>
--
Regards
Aniruddh Singh
System Administrator
Monster.com India Pvt. Ltd.
FC 23, Block B, 1st Floor, Sector 16A
Film City Noida 201301 U.P.


2006-01-06 17:37:56

by Arjan van de Ven

[permalink] [raw]
Subject: Re: High load

On Fri, 2006-01-06 at 21:16 +0530, Aniruddh Singh wrote:
> On Fri, 2006-01-06 at 13:57 +0100, Arjan van de Ven wrote:
> > On Fri, 2006-01-06 at 18:06 +0530, Aniruddh Singh wrote:
> > > Hi,
> > >
> > > there is a raid 0 and raid controller is Smart Array 64xx (rev 01)
> > >
> > > hdparm -tT /dev/cciss/c0d0p2 returns the following
> >
> > for measuring IO performance, I'd recommend tiobench over hdparm any day
> > ( http://tiobench.sf.net )
>
> i will do it, can you please tell me why load goes high when i compile
> kernel (10 and above)

thats really odd, unless you do a "make -j", in which case of course
it's expected ;)


2006-01-07 05:41:15

by Aniruddh Singh

[permalink] [raw]
Subject: Re: High load


> > > for measuring IO performance, I'd recommend tiobench over hdparm any day
> > > ( http://tiobench.sf.net )
> >
> > i will do it, can you please tell me why load goes high when i compile
> > kernel (10 and above)
>
> thats really odd, unless you do a "make -j", in which case of course
> it's expected ;)
yes i always use make -j option ??
--
Regards
Aniruddh Singh
System Administrator
Monster.com India Pvt. Ltd.
FC 23, Block B, 1st Floor, Sector 16A
Film City Noida 201301 U.P.


2006-01-07 05:49:04

by Randy Dunlap

[permalink] [raw]
Subject: Re: High load

On Sat, 07 Jan 2006 11:17:09 +0530 Aniruddh Singh wrote:

>
> > > > for measuring IO performance, I'd recommend tiobench over hdparm any day
> > > > ( http://tiobench.sf.net )
> > >
> > > i will do it, can you please tell me why load goes high when i compile
> > > kernel (10 and above)
> >
> > thats really odd, unless you do a "make -j", in which case of course
> > it's expected ;)
> yes i always use make -j option ??

With or without a following integer?

See 'make help':
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.

so use make -j N to limit the number of makes/compiles etc.
or use 'make -j' to go ballistic.

---
~Randy

2006-01-09 04:29:08

by Aniruddh Singh

[permalink] [raw]
Subject: Re: High load

On Fri, 2006-01-06 at 21:48 -0800, Randy.Dunlap wrote:
> On Sat, 07 Jan 2006 11:17:09 +0530 Aniruddh Singh wrote:
>
> >
> > > > > for measuring IO performance, I'd recommend tiobench over hdparm any day
> > > > > ( http://tiobench.sf.net )
> > > >
> > > > i will do it, can you please tell me why load goes high when i compile
> > > > kernel (10 and above)
> > >
> > > thats really odd, unless you do a "make -j", in which case of course
> > > it's expected ;)
> > yes i always use make -j option ??
>
> With or without a following integer?
make -j8, machine has 4 processor
>
> See 'make help':
> -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
>
> so use make -j N to limit the number of makes/compiles etc.
> or use 'make -j' to go ballistic.
>
> ---
> ~Randy
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Regards
Aniruddh Singh
System Administrator
Monster.com India Pvt. Ltd.
FC 23, Block B, 1st Floor, Sector 16A
Film City Noida 201301 U.P.