WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Swap file???  (Read 1787 times)

Offline herrMnnn

  • Newbie
  • *
  • Posts: 33
Swap file???
« on: May 30, 2012, 04:08:07 AM »
I have a feeling I am about to highlight my ignorance, but.....

I have noswap in my extlinux.conf file.  Core is installed on an internal flash drive so I don't want any writes to it (apart from setup).  All data writes are to a usb stick which is effectively disposable.

Obviously I'm a fair way off needing swap, but why does free report swap?  I would expect it to report swap total=0?

Code: [Select]
tc@box:~$ free
             total         used         free       shared      buffers
Mem:        237328        49228       188100            0         5016
-/+ buffers:              44212       193116
Swap:        59324            0        59324

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Swap file???
« Reply #1 on: May 30, 2012, 05:17:22 AM »
It's zram, the compressed-swap-in-RAM. Use "cat /proc/swaps" to list them.

In the event of you needing swap, it would come into play and let you use over the 256mb, how much depends on the compressibility of the apps.
The only barriers that can stop you are the ones you create yourself.

Offline herrMnnn

  • Newbie
  • *
  • Posts: 33
Re: Swap file???
« Reply #2 on: May 30, 2012, 05:34:34 AM »
Thanks curaga  :)