How to know to adjust the kernel buffer and cache usage
tushaar gohil <[email protected]> Fri, 9 Sep 2005 15:48:02 +0530
| Newsgroups | gmane.linux.redhat.stronghold |
|---|---|
| Message-ID | <[email protected]> |
--===============0552874327== Content-Type: multipart/alternative; boundary="----=_Part_2213_19786500.1126261082876" ------=_Part_2213_19786500.1126261082876 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline HI,=20 If anyone knows, I'ld like to know how to adjust the kernel buffer and cach= e=20 usage... System: 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386= =20 GNU/Linux (Red Hat Enterprise Linux ES release 3=20 *Free* total used free shared buffers cached=20 Mem: 8248744 6864308 1384436 0 178236 4976432 -/+ buffers/cache: 1709640 6539104 Swap 2096440 0 2096440 =20 Shared Memory=20 *ipcs -lm* ------ Shared Memory Limits -------- max number of segments =3D 4096 max seg size (kbytes) =3D 32768 max total shared memory (kbytes) =3D 8388608 min seg size (bytes) =3D 1 *ipcs -am* ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000064 0 root 600 1712 0 0x0c6629c9 32769 root 640 695584 2 0x06347849 65538 root 666 70340 1 0x31050002 98307 root 666 131164 3 ------ Semaphore Arrays -------- key semid owner perms nsems 0x31050002 720898 root 666 1 0x00000000 163843 root 600 1 0xffffffff 753668 root 666 1 0x00000000 524293 root 600 1 0x00000000 557062 root 600 1 0x00000000 589831 root 600 1 0x00000000 655369 root 600 1 0x00000000 688138 root 600 1 ------ Message Queues -------- key msqid owner perms used-bytes messages *TOP:* 10:14:19 up 14 days, 20:40, 6 users, load average: 1.64, 1.58, 1.60 158 processes: 157 sleeping, 1 running, 0 zombie, 0 stopped CPU states: cpu user nice system irq softirq iowait idle total 36.1% 0.0% 2.0% 0.0% 0.0% 0.0% 61.7% cpu00 56.9% 0.0% 0.5% 0.0% 0.0% 0.0% 42.4% cpu01 42.1% 0.0% 3.3% 0.0% 0.0% 0.0% 54.4% cpu02 5.3% 0.0% 0.0% 0.0% 0.0% 0.0% 94.6% cpu03 39.9% 0.0% 4.1% 0.0% 0.0% 0.1% 55.6% Mem: 8248744k av, 6881872k used, 1366872k free, 0k shrd, 178216k buff 2207772k actv, 2055408k in_d, 65080k in_c Swap: 2096440k av, 0k used, 2096440k free 4979924k cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 17766 webm 25 0 199M 199M 19680 S 24.9 2.4 357:28 1 java 1 root 15 0 500 500 448 S 0.0 0.0 0:16 1 init I'ld really like to turn this down. I don't need such large buffers, and in spite of the memory I've had instances where Java application has run low o= n=20 ram causing the system to freeze during garbage collection... Please do the needful at your earliest and reply back to this mail Thanks, Tushar Gohil <[email protected]> ------=_Part_2213_19786500.1126261082876 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline HI, <div> </div> <div>If anyone knows, I'ld like to know how to adjust the kernel buffer and= cache usage...</div> <div> </div> <div> </div> <div>System: 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i6= 86 i386 GNU/Linux (Red Hat Enterprise Linux ES release 3 <br> </d= iv> <div><u><strong>Free</strong></u></div> <div> &n= bsp;  = ; total &n= bsp; used free &= nbsp; shared &nbs= p; buffers cached </div> <div> &nb= sp; Mem: 8248744  = ; 6864308 1384436 &nbs= p; 0 178236 4976432<b= r>-/+ buffers/cache: 1709640 6539= 104<br>Swap &nbs= p; 2096440 = ; 0 = 2096440<br> </div> <p>Shared Memory </p> <p><u><strong>ipcs -lm</strong></u></p> <p>------ Shared Memory Limits --------<br>max number of segments =3D 4096<= br>max seg size (kbytes) =3D 32768<br>max total shared memory (kbytes) =3D = 8388608<br>min seg size (bytes) =3D 1<br></p> <p><strong><u>ipcs -am</u></strong></p> <p>------ Shared Memory Segments --------<br>key &nb= sp; shmid owner = perms bytes &nb= sp; nattch status<br>0x00000064 0 = root &nbs= p; 600 1712 &nbs= p; 0<br>0x0c6629c9 32769 root&nbs= p; 640 69= 5584 2 <br>0x06347849 65538 root &n= bsp; 666 70340 &= nbsp; 1<br>0x31050002 98307 root&= nbsp; 666 = 131164 3</p> <p>------ Semaphore Arrays --------<br>key &nb= sp; semid owner = perms nsems<br>0x31050002 720898 = root 666 = 1<br>0x00000000 163843 roo= t 600 &nbs= p; 1<br>0xffffffff 753668 root &nb= sp; 666 1 <br>0x00000000 524293 root &= nbsp; 600 1<br>0x00000000 557062&= nbsp; root 600 &= nbsp; 1<br>0x00000000 589831  = ; root 600  = ; 1<br>0x00000000 655369 root &nbs= p; 600 1<br>0x0000000= 0 688138 root 600&nbs= p; 1 </p> <div>------ Message Queues --------<br>key &nb= sp; msqid owner = perms used-bytes messages<= /div> <div> </div> <div><u><strong>TOP:</strong></u></div> <div><br> 10:14:19 up 14 days, 20:40, 6 users, load = average: 1.64, 1.58, 1.60<br>158 processes: 157 sleeping, 1 running, 0 zomb= ie, 0 stopped<br>CPU states: cpu user &n= bsp; nice system irq softirq iowait&nbs= p; idle<br> total &nb= sp; 36.1% 0.0% 2.0% 0.0%&nb= sp; 0.0% 0.0% 61.7%<br>&nbs= p; cpu00 = 56.9% 0.0% 0.5% 0.0% &= nbsp; 0.0% 0.0% 42.4%<br> &n= bsp; cpu01 42.1= % 0.0% 3.3% 0.0%  = ; 0.0% 0.0% 54.4% <br> cpu02 = ; 5.3% 0.0% 0.0%  = ; 0.0% 0.0% 0.0% 94.6= %<br> cpu03&nbs= p; 39.9% 0.0% 4.1% 0.= 0% 0.0% 0.1% 55.6%<br= >Mem: 8248744k av, 6881872k used, 1366872k free, &nb= sp; 0k shrd, 178216k buff <br>  = ; 2207772k actv, 2055408k in_d, &n= bsp; 65080k in_c<br>Swap: 2096440k av, = 0k used, 2096440k free  = ; 4979924k cached</div> <p> PID USER PRI NI SIZE RS= S SHARE STAT %CPU %MEM TIME CPU COMMAND<br>17766 webm &nbs= p; 25 0 199M 199M 19680 S &n= bsp; 24.9 2.4 357:28 1 java<br> 1 root&= nbsp; 15 0 500 500&nb= sp; 448 S 0.0 0.0 0:16 = ; 1 init <br></p> <p><br><br>I'ld really like to turn this down. I don't need such large buff= ers, and in<br>spite of the memory I've had instances where Java appli= cation has run low on ram<br>causing the system to freeze during garb= age collection... </p> <div><span style=3D"FONT-SIZE: 10pt"><font face=3D"Courier New" color=3D"#0= 000ff">Please do the needful at your earliest and reply back to this mail</= font></span></div> <div><span style=3D"FONT-SIZE: 10pt"><font face=3D"Courier New" color=3D"#0= 000ff"></font></span> </div> <div>Thanks,</div> <div>Tushar Gohil</div> <p><a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"mail= to:[email protected]"></a> </p> ------=_Part_2213_19786500.1126261082876-- --===============0552874327== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Stronghold-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/stronghold-users --===============0552874327==--