WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline herrMnnn

  • Newbie
  • *
  • Posts: 33
Swap file???
« on: May 30, 2012, 01: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: 10984
Re: Swap file???
« Reply #1 on: May 30, 2012, 02: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, 02:34:34 AM »
Thanks curaga  :)