OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: g333 on April 07, 2005, 05:28:09 pm

Title: How Do I Setup Swap Space?
Post by: g333 on April 07, 2005, 05:28:09 pm
How do I do this??

Swap space

The following demonstrates how to configure a 128MB swap file on the C3000's harddisk.

      # su
      # dd if=/dev/zero of=/hdd3/swapfile bs=1048576 count=128
      # mkswap /hdd3/swapfile
      # swapon /hdd3/swapfile
      # echo "/hdd3/swapfile swap defaults 0 0" >> /etc/fstab
     
To enable swap type: swapon /hdd3/swapfile

To disable swap type: swapoff /hdd3/swapfile

To check swap status type: cat /proc/swaps
Title: How Do I Setup Swap Space?
Post by: adf on April 07, 2005, 06:43:02 pm
or grab swapd off elsi. i use it on my 6k and love it!
Title: How Do I Setup Swap Space?
Post by: g333 on April 07, 2005, 07:24:18 pm
Thanks, I will try that software but if anyone knows which is better or faster on the Zaurus please tell me

Wouldn't it be better to set a chunk of the HDD as memory?
Title: How Do I Setup Swap Space?
Post by: g333 on April 07, 2005, 07:32:19 pm
http://elsix.org/index.php?w=download&p=2675 (http://elsix.org/index.php?w=download&p=2675)   that's where I found it.
Title: How Do I Setup Swap Space?
Post by: adf on April 07, 2005, 08:41:28 pm
rather than the sd, you mean?  probably.  I bet if you poked around in the ipk you'd find an editable script that you could change to do that
Title: How Do I Setup Swap Space?
Post by: g333 on April 10, 2005, 11:12:33 pm
I got that swapd program and I'm running it but I don't know if it actually does anything. How can I check if it is doing anything?
Title: How Do I Setup Swap Space?
Post by: pgas on April 11, 2005, 02:26:27 am
open a terminal and type
Code: [Select]
freeor cat
Code: [Select]
/proc/meminfo
Title: How Do I Setup Swap Space?
Post by: g333 on April 15, 2005, 02:11:13 pm
I set up the swapfile using Qkonsole and everything seems okay.

/proc/meminfo   didn't work though (Permission denied)
Title: How Do I Setup Swap Space?
Post by: offroadgeek on April 15, 2005, 11:31:14 pm
Quote
How do I do this??

Swap space

[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=74120\")

check out this wiki doc on creating swap files (in case it helps)..

[a href=\"https://www.oesf.org/index.php?title=Creating_a_Swap_File]https://www.oesf.org/index.php?title=Creating_a_Swap_File[/url]
Title: How Do I Setup Swap Space?
Post by: g333 on April 16, 2005, 06:37:10 pm
offroadgeek do you have a Japanese version of the SL-C1000. I want to get the train software it comes with also the dictionary in it (version 1.1.0)
Title: How Do I Setup Swap Space?
Post by: offroadgeek on April 17, 2005, 10:41:14 am
Quote
offroadgeek do you have a Japanese version of the SL-C1000. I want to get the train software it comes with also the dictionary in it (version 1.1.0)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75553\"][{POST_SNAPBACK}][/a][/div]

I do, however streamline did the english conversion on it and made a few other changes/additions (changed the boot up screen, installed the kopi apps, etc.).

Would you like to get some files off the z?  PM me if you'd like to just ssh in and grab what you need.
Title: How Do I Setup Swap Space?
Post by: doc on April 18, 2005, 08:43:43 am
I have used Qswap: http://www.killefiz.de/zaurus/showdetail.php?app=811 (http://www.killefiz.de/zaurus/showdetail.php?app=811)
Title: How Do I Setup Swap Space?
Post by: doc on April 18, 2005, 08:46:14 am
P.S. Whatever happened with the new Zaurus Software Index site?
Title: How Do I Setup Swap Space?
Post by: mikew on April 18, 2005, 11:18:29 am
Has anyone tried the swapfile on a C series Zaurus using Cackoo ROM?

Looks a better solution than Cackoo which can only use flash card but I am concerned as the Wiki is about 3 years old as far as I can make out.

Mike
Title: How Do I Setup Swap Space?
Post by: bluedevils on April 18, 2005, 04:38:27 pm
it's here http://www.elsix.org/ (http://www.elsix.org/)



Quote
I have used Qswap: http://www.killefiz.de/zaurus/showdetail.php?app=811 (http://www.killefiz.de/zaurus/showdetail.php?app=811)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75774\"][{POST_SNAPBACK}][/a][/div]