Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Swap not being used?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nugenth
n00b
n00b


Joined: 26 Sep 2004
Posts: 8

PostPosted: Sat Nov 06, 2004 3:18 pm    Post subject: Swap not being used? Reply with quote

My meminfo looks like this:
Code:
         total:    used:    free:  shared: buffers:  cached:
Mem:  527032320 505753600 21278720        0 85090304 348299264
Swap: 1011699712        0 1011699712
MemTotal:       514680 kB
MemFree:         20780 kB
MemShared:           0 kB
Buffers:         83096 kB
Cached:         340136 kB
SwapCached:          0 kB
Active:         175432 kB
Inactive:       273776 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       514680 kB
LowFree:         20780 kB
SwapTotal:      987988 kB
SwapFree:       987988 kB


I've got 512 MB of memory and I made 1 GB of swap space. But from the above, it looks like I'm not using my swap?
At the moment, the box is running an emerge on mod_perl and I have 3 ssh sessions going.

Any ideas?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Nov 06, 2004 3:38 pm    Post subject: Reply with quote

There's plenty of free physical memory available @ moment of snapshot so why using swap when there's enough ram ?
Back to top
View user's profile Send private message
Sachankara
l33t
l33t


Joined: 11 Jun 2004
Posts: 696
Location: Stockholm, Sweden

PostPosted: Sat Nov 06, 2004 4:52 pm    Post subject: Reply with quote

Linux doesn't handle memory and virtual memory as Windows do. It doesn't move huge amounts of data from the RAM to the disk unless it has to (unlike Windows)... :p
_________________
Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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