mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Swapping in 2.4.10.SuSE-3 (2.4.10aa1 + some patches).
  2001-10-01 16:32 Swapping in 2.4.10.SuSE-3 (2.4.10aa1 + some patches) Oleg A. Yurlov
@ 2001-10-01 15:22 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2001-10-01 15:22 UTC (permalink / raw)
  To: Oleg A. Yurlov; +Cc: linux-kernel



On Mon, 1 Oct 2001, Oleg A. Yurlov wrote:

> 
>         Hi, folks,
> 
>         Kernel 2.4.10.SuSE-3 + patches from Andrea (from LKML), 1 CPU, 1 Gb RAM,
> 4 Gb swap. Mysql going to swap, but server has about 700Mb free memory:
> 
> buran:~ # vmstat 2
>    procs                      memory    swap          io     system         cpu
>  r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
>  0  0  0 335984 686688   6392 194476   3   6   126   167  172    83   4   1  94
>  0  0  0 335984 686688   6392 194476   0   0     0     0  102    11   0   0 100
> 
>         Result of "top" command:
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
>  1190 root       9   0  1220 1020   876 S     0.0  0.0   0:00 sh
>  1210 root       9   0   964  732   728 S     0.0  0.0   0:00 safe_mysqld
>  1245 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
>  1247 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
>  1248 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
>  1249 mysql      9   0  318M  624   612 S     0.0  0.0   0:17 mysqld.42
>  1250 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
>  1251 mysql      9   0  318M  624   612 S     0.0  0.0   0:29 mysqld.42
>  1252 mysql      9   0  318M  624   612 S     0.0  0.0   1:06 mysqld.42
>  1253 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
>  1254 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
>  1259 mysql      9   0  318M  624   612 S     0.0  0.0  26:01 mysqld.42
> 
>         No error messages in dmesg and syslog.
> 
>         It is normal ?

Yes. 

The kernel is just preallocating swap. If there is actual swap activity,
you can see in the "si so" (swapin/swapout) fields of vmstat. 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Swapping in 2.4.10.SuSE-3 (2.4.10aa1 + some patches).
@ 2001-10-01 16:32 Oleg A. Yurlov
  2001-10-01 15:22 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg A. Yurlov @ 2001-10-01 16:32 UTC (permalink / raw)
  To: linux-kernel


        Hi, folks,

        Kernel 2.4.10.SuSE-3 + patches from Andrea (from LKML), 1 CPU, 1 Gb RAM,
4 Gb swap. Mysql going to swap, but server has about 700Mb free memory:

buran:~ # vmstat 2
   procs                      memory    swap          io     system         cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  id
 0  0  0 335984 686688   6392 194476   3   6   126   167  172    83   4   1  94
 0  0  0 335984 686688   6392 194476   0   0     0     0  102    11   0   0 100

        Result of "top" command:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 1190 root       9   0  1220 1020   876 S     0.0  0.0   0:00 sh
 1210 root       9   0   964  732   728 S     0.0  0.0   0:00 safe_mysqld
 1245 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
 1247 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
 1248 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
 1249 mysql      9   0  318M  624   612 S     0.0  0.0   0:17 mysqld.42
 1250 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
 1251 mysql      9   0  318M  624   612 S     0.0  0.0   0:29 mysqld.42
 1252 mysql      9   0  318M  624   612 S     0.0  0.0   1:06 mysqld.42
 1253 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
 1254 mysql      9   0  318M  624   612 S     0.0  0.0   0:00 mysqld.42
 1259 mysql      9   0  318M  624   612 S     0.0  0.0  26:01 mysqld.42

        No error messages in dmesg and syslog.

        It is normal ?

--
Oleg A. Yurlov aka Kris Werewolf, SysAdmin      OAY100-RIPN
mailto:kris@spylog.com                          +7 095 332-03-88


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-01 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-01 16:32 Swapping in 2.4.10.SuSE-3 (2.4.10aa1 + some patches) Oleg A. Yurlov
2001-10-01 15:22 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®