Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. Default IMPROVED SWAP SPEED!!

    I found a way to get a really fast swap file!!! You need busybox or some other form of mkswap.

    Code:
    dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awsomeswap 16384
    /bin/sync
    /sbin/swapon /ram/awsomeswap

  2. Default Re: IMPROVED SWAP SPEED!!

    nobody laughed... oh well, I had to make it my sig
    <pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awesomeswap 16384
    sync
    swapon /ram/awesomeswap</pre>

  3. #3

    Default Re: IMPROVED SWAP SPEED!!

    GOOD JOKE!!!!
    Nice try, but nobody understand it. You should post this on April 1st

    I will explain it: To create a swap-file in RAM is no good idea. But indeed, it will be very fast. And the best size would be to take the whole RAM as a swap-file.

  4. Default Re: IMPROVED SWAP SPEED!!

    LMAO! Sorry, that's my style... sorry

    wget -q -O - "http://wiki.openezx.org/Useraniel_Santos" | grep sane
    <pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awesomeswap 16384
    sync
    swapon /ram/awesomeswap</pre>

  5. #5

    Default Re: IMPROVED SWAP SPEED!!

    Wonderful one. HEHEHHEHEHE. Good tut, guy.

  6. #6

    Default Re: IMPROVED SWAP SPEED!!

    have you test it?
    i think it may more slow then not use ram as swap
    ====================
    When You Learn,Teach,
    When You Get,Give.
    ====================

  7. Default Re: IMPROVED SWAP SPEED!!

    this is a joke blue_stone. Using a ramdisk for a swap file makes no sense (not unlike me )
    <pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
    mkswap -v0 /ram/awesomeswap 16384
    sync
    swapon /ram/awesomeswap</pre>

  8. #8

    Default Re: IMPROVED SWAP SPEED!!

    What a funny invention

  9. #9

    Default Re: IMPROVED SWAP SPEED!!

    btw swapfile used for Emulate memory on any external disk space, and use phone memory for that - does it a dead loop? 8O hehe
    But moved swapfile to SDCard is a better solution i think. todays SDCard have better speed than buildin phone memory.

  10. #10

    Default Re: IMPROVED SWAP SPEED!!

    It _is_ some kind of dead loop.It would be much more effectively to use free RAM directly .This is just kind of humor, nothing more

    todays SDCard have better speed than buildin phone memory.
    You should know that...
    1) Flash has limited number of rewrites.This applies to SD cards, too.So by putting swap into card you can kill it quickly if swap file used a lots (for example too few RAM so many swapping occurs).

    2) RAM is a way faster than any SD card... RAM is located close to CPU on fast cpu bus.SD located on reasonable slow (serial) bus and SDs are slower than RAM "by design" - they're data storage but not a RAM replacers.But of course swap on SD could be faster than on HDD.Because there is no seek times which is hurting HDD's performance.So in some cases this is an option.But please think:what will happen if card is removed?


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [APP] SWAP Manager 2 - creates swap file on SD card
    By m41d3n in forum A1200 Applications
    Replies: 58
    Last Post: 11-19-2010, 05:07 AM
  2. [APP] Swap Manager 1 - creates Swap file on SD card
    By dedraks in forum A1200 Applications
    Replies: 93
    Last Post: 11-18-2010, 12:35 PM
  3. Application for improved call history?
    By jhonperkins in forum A1200 General Chat
    Replies: 1
    Last Post: 07-25-2009, 04:06 PM
  4. Improved Calendar
    By carneiro in forum A1200 General Chat
    Replies: 1
    Last Post: 01-22-2007, 05:55 PM
  5. A1200 improved from A780?
    By artlam in forum A1200 General Chat
    Replies: 2
    Last Post: 11-10-2006, 05:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1