macsat.com OpenWrt and ASUS WL Forum
November 21, 2008, 15:18:18 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Swap file?  (Read 800 times)
0 Members and 1 Guest are viewing this topic.
gixie
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: February 06, 2008, 16:53:00 PM »

Hi all,

I have configured a swap file on a separate +256M partition...
It is loaded at startup, but when I issue free it shows that it is not used at all (all of it is free)
Why is that?
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: February 07, 2008, 10:58:26 AM »


Could be there is no need to use it currently :-)

The system only uses swap when the running processes cannot fit into the physical memory. Swap is way slower than real memory.
Logged
schufti
Full Member
***
Offline Offline

Posts: 186



View Profile
« Reply #2 on: February 07, 2008, 16:05:21 PM »

Hi,

if you have a large hd (120 or 160 GB) then you can test if swap is working by starting a e2fsck /dev/hda1. Without swap this crashes after some time ...

schufti
Logged

I won't answer posts or PMs about repair/recovery after bad flash until proven that the wiki was read and followed!
find all my MGB100 files here, pass: mgb100
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 4.299 seconds with 24 queries.