Author Topic: How Do I Setup Swap Space?  (Read 6619 times)

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
How Do I Setup Swap Space?
« 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
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
How Do I Setup Swap Space?
« Reply #1 on: April 07, 2005, 06:43:02 pm »
or grab swapd off elsi. i use it on my 6k and love it!
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
How Do I Setup Swap Space?
« Reply #2 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?
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
How Do I Setup Swap Space?
« Reply #3 on: April 07, 2005, 07:32:19 pm »
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
How Do I Setup Swap Space?
« Reply #4 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
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
How Do I Setup Swap Space?
« Reply #5 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?
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
How Do I Setup Swap Space?
« Reply #6 on: April 11, 2005, 02:26:27 am »
open a terminal and type
Code: [Select]
freeor cat
Code: [Select]
/proc/meminfo
SLC-860 cacko / senao wifi

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
How Do I Setup Swap Space?
« Reply #7 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)
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
How Do I Setup Swap Space?
« Reply #8 on: April 15, 2005, 11:31:14 pm »
Quote
How do I do this??

Swap space

[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

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]
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

g333

  • Full Member
  • ***
  • Posts: 196
    • View Profile
How Do I Setup Swap Space?
« Reply #9 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)
SL-C3000, Sharp ROM 1.11 JP, AirEdge AH-S405C...

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
How Do I Setup Swap Space?
« Reply #10 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.
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

doc

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
How Do I Setup Swap Space?
« Reply #11 on: April 18, 2005, 08:43:43 am »
By your command...

Doc
Sharp SL-5500 PDA
Sharp 2.78 ROM
Viking 256MB SD
Socket LP-E CF Ethernet

doc

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
How Do I Setup Swap Space?
« Reply #12 on: April 18, 2005, 08:46:14 am »
P.S. Whatever happened with the new Zaurus Software Index site?
By your command...

Doc
Sharp SL-5500 PDA
Sharp 2.78 ROM
Viking 256MB SD
Socket LP-E CF Ethernet

mikew

  • Full Member
  • ***
  • Posts: 193
    • View Profile
How Do I Setup Swap Space?
« Reply #13 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
C3200, C760 Cacko 1.23 ROM, 1gb SD, 1gb CF, WiFi, Imate Jasjar & Psion Netbook

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
How Do I Setup Swap Space?
« Reply #14 on: April 18, 2005, 04:38:27 pm »
it's here http://www.elsix.org/



Quote
I have used Qswap: http://www.killefiz.de/zaurus/showdetail.php?app=811
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75774\"][{POST_SNAPBACK}][/a][/div]
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)