Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-12 Thread Ali Ahsan
I Spoke too early its not fixed.Any one have other options On 05/09/2011 11:37 PM, Ali Ahsan wrote: Things i have done to solve this issue is set swappiness to 0 and i have changed scheduler to anticipatory for better performance .I don't see kswpad process taking 100% CPU now. -- S.Ali

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-12 Thread Simon Matter
I Spoke too early its not fixed.Any one have other options On 05/09/2011 11:37 PM, Ali Ahsan wrote: Things i have done to solve this issue is set swappiness to 0 and i have changed scheduler to anticipatory for better performance .I don't see kswpad process taking 100% CPU now. We had a

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Peter Kjellström
On Saturday, May 07, 2011 09:35:48 PM Ali Ahsan wrote: Hi All I have xeon server with 16 Gb Ram and no Swap memory.I am running cassandra server on two node in cluster.When there is high load on server kswapd0 kicks inn and take 100% cpu and make machine very slow and we need to restart out

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
Thanks for reply,I dont know it has some thing to do with linux scheduler but some on suggested about linux scheduler cat /sys/block/sda/queue/scheduler there are quite few of them noop [anticipatory] deadline cfq.I have changed from cfq default to anticipatory,Now problem is less for me

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Peter Kjellström
Please don't top-post it's hard to follow. On Monday, May 09, 2011 03:07:57 PM Ali Ahsan wrote: Thanks for reply,I dont know it has some thing to do with linux scheduler but some on suggested about linux scheduler cat /sys/block/sda/queue/scheduler there are quite few of them noop

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 08:09 PM, Peter Kjellström wrote: This means that you're limiting the amount of RAM that can be used as pagecache (basically caching I/O) to 10%. This may not be an issue for you but may also severely limit your performance (all depending on work load). An alternative may be to

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Lamar Owen
On Monday, May 09, 2011 11:49:26 AM Ali Ahsan wrote: Hmmm nice points,I am using Sata with LVM with 1 TB of two HD. What sort of SATA drives are you using? There are some known issues with some SATA drives in certain configurations and on some controllers. It shouldn't cause kswapd to hit

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 09:45 PM, Lamar Owen wrote: What sort of SATA drives are you using? There are some known issues with some SATA drives in certain configurations and on some controllers. It shouldn't cause kswapd to hit high CPU, but it is worth checking out. these modules are loaded when i

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 10:08 PM, Ali Ahsan wrote: On 05/09/2011 09:45 PM, Lamar Owen wrote: What sort of SATA drives are you using? There are some known issues with some SATA drives in certain configurations and on some controllers. It shouldn't cause kswapd to hit high CPU, but it is worth

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 10:11 PM, Ali Ahsan wrote: What sort of SATA drives are you using? There are some known issues with some SATA drives in certain configurations and on some controllers. It shouldn't cause kswapd to hit high CPU, but it is worth checking

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Brunner, Brian T.
Actually i dont have any issue with read and write,If you have experience with Cassandra NoSQL database,Its very read and write intensive.It will approximately doing 10 Million concurrent read and writes.AS per Cassandra documentation Cassandra can write 50GB of data in 0.12

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Lamar Owen
On Monday, May 09, 2011 01:11:17 PM Ali Ahsan wrote: sd 0:0:0:0: Attached scsi disk sda Vendor: ATA Model: WDC WD10EARS-003 Rev: 80.0 Type: Direct-Access ANSI SCSI revision: 05 Are your two drives in a RAID? cat /proc/mdstat The WD10EARS drives are known

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 10:46 PM, Brunner, Brian T. wrote: 50GB in 0.12 ms is 500TB in 1.2 second. SATA III buses at 6GB/sec need a parallelness of (nearly) 100 channels to soak up that data. How many drives must be written-to in parallel to sustain that write rate is ... Beyond my math skills. Its

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 10:51 PM, Lamar Owen wrote: On Monday, May 09, 2011 01:11:17 PM Ali Ahsan wrote: sd 0:0:0:0: Attached scsi disk sda Vendor: ATA Model: WDC WD10EARS-003 Rev: 80.0 Type: Direct-Access ANSI SCSI revision: 05 Are your two drives in a RAID? cat

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 10:51 PM, Lamar Owen wrote: iostat -x 1 I am little new to iostat please guide me on this This is iostat output Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Brunner, Brian T.
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Ali Ahsan Sent: Monday, May 09, 2011 1:52 PM To: centos@centos.org Subject: Re: [CentOS] kswapd taking 100% cpu with no swap on system On 05/09/2011 10:46 PM, Brunner, Brian T

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Lamar Owen
On Monday, May 09, 2011 01:57:54 PM Ali Ahsan wrote: On 05/09/2011 10:51 PM, Lamar Owen wrote: On Monday, May 09, 2011 01:11:17 PM Ali Ahsan wrote: sd 0:0:0:0: Attached scsi disk sda Vendor: ATA Model: WDC WD10EARS-003 Rev: 80.0 Type: Direct-Access

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
On 05/09/2011 11:06 PM, Lamar Owen wrote: Can you give the output of pvdisplay, vgdisplay, and lvdisplay? Also, did you align the pv's to 4K sectors when you partitioned? What does iostat -x tell you? pvdisplay --- Physical volume --- PV Name /dev/sda2 VG Name

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Lamar Owen
On Monday, May 09, 2011 02:06:54 PM Lamar Owen wrote: The particular drives (hardware) you are using have known performance issues; there are a number of reports in Western Digital's forums confirming this, for more than just Linux. For reference:

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Lamar Owen
On Monday, May 09, 2011 02:02:08 PM Ali Ahsan wrote: On 05/09/2011 10:51 PM, Lamar Owen wrote: iostat -x 1 I am little new to iostat please guide me on this [snip] avg-cpu: %user %nice %system %iowait %steal %idle 34.790.001.256.110.00 57.86 Device:

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Lamar Owen
On Monday, May 09, 2011 02:03:54 PM Brunner, Brian T. wrote: ...a pursuit after feral aquatic fowl. For those for whom English is not their first language, this translates to 'wild goose chase' which term see in wikipedia.org. ___ CentOS mailing list

Re: [CentOS] kswapd taking 100% cpu with no swap on system

2011-05-09 Thread Ali Ahsan
Things i have done to solve this issue is set swappiness to 0 and i have changed scheduler to anticipatory for better performance .I don't see kswpad process taking 100% CPU now. -- S.Ali Ahsan Senior System Engineer e-Business (Pvt) Ltd 49-C Jail Road, Lahore, P.O. Box 676 Lahore 54000,

[CentOS] kswapd taking 100% cpu with no swap on system

2011-05-07 Thread Ali Ahsan
Hi All I have xeon server with 16 Gb Ram and no Swap memory.I am running cassandra server on two node in cluster.When there is high load on server kswapd0 kicks inn and take 100% cpu and make machine very slow and we need to restart out cassandra server.I have latest kernel