Author Topic: Does A Swap File Help On A C3k?  (Read 2618 times)

Howard Roark

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Does A Swap File Help On A C3k?
« on: May 01, 2005, 10:52:49 pm »
What is the point of creating a swap file on a C3K? Does it help speed things up?

If its useful, whats a good size?

 
SL-6000L, CG-AE06 Camera, Battery Sled, Trendnote CF Lan, 6G Hitachi CF
Sl-C3000+Ambicom WiFi
Palm Tungsten C+Seiko Smartpad
Archos PMA400, Archos AV380 Package
Sony UX-50+Extended battery
Psion 5mx,xNetbook (fabulous mininote!)
Apple eMate
TC1000, TC1100, SC3000
...huge credit card bills..!

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Does A Swap File Help On A C3k?
« Reply #1 on: May 01, 2005, 10:57:32 pm »
Quote
What is the point of creating a swap file on a C3K? Does it help speed things up?

If its useful, whats a good size?

 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77812\"][{POST_SNAPBACK}][/a][/div]

I don't recommend a swap file on _any_ embedded device, and I have never used swap on an embedded device.

The slowness you may experience is the microdrive.
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Does A Swap File Help On A C3k?
« Reply #2 on: May 01, 2005, 11:06:18 pm »
In general, you don't need a swap on the C3000 if you are only running the stock sharp apps. However, if you start playing with X/Qt, Debian, OpenOffice, then you willl soon run out of memory so that's when you start to need a swap at the sacrifice for some speed. I am experiencing with 64MB to 128MB swapfiles.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Does A Swap File Help On A C3k?
« Reply #3 on: May 02, 2005, 07:54:37 am »
I agree, don't enable swap unless you are doing something that runs out of memory and crashes.

Keep as much in RAM as possible is the best advice. If you can avoid running too much then you will benefit more greastly from cache.

I only enable swap if I'm compiling something really big onboard. In the past on PDAXROM I had to enable swap to build things like ClanLib and pingus.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card