Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Swap file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Leven2e  
View profile   Translate to Translated (View Original)
 More options 18 Apr, 21:15
From: Leven2e <chillk...@googlemail.com>
Date: Sat, 18 Apr 2009 13:15:09 -0700 (PDT)
Local: Sat 18 Apr 2009 21:15
Subject: Swap file
Hi,can somebody please give me a step by step guide how to create swap
file in the elone oneT,running on the default OS please?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Albuquerque  
View profile   Translate to Translated (View Original)
 More options 18 Apr, 22:17
From: Sam Albuquerque <sam.albuquer...@gmail.com>
Date: Sat, 18 Apr 2009 22:17:02 +0100
Local: Sat 18 Apr 2009 22:17
Subject: Re: [ElonexOne] Swap file

Although you may be able to enable the swap, i would recommend not to as the
Storage on the OneTs are flash memories and these may wear out too early due
to tremendous writing.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed  
View profile   Translate to Translated (View Original)
 More options 18 Apr, 22:25
From: Ed <elone...@googlemail.com>
Date: Sat, 18 Apr 2009 14:25:29 -0700 (PDT)
Local: Sat 18 Apr 2009 22:25
Subject: Re: Swap file
On the other hand Micro$oft Vista's "ReadyBoost" feature is exactly
that - putting a swap file onto a USB flash memory stick.

So, there might be some slight advantage in putting a swap file onto a
USB stick or the SD card - if it did wear out you could replace the
memory stick or SD card, and before you reached that point you may get
some speed improvement or increase in the number or size of programs
that you could run at the same time...

Does anyone have the Linux inside knowledge necessary?

Cheers, Ed

On 18 Apr, 22:17, Sam Albuquerque <sam.albuquer...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Albuquerque  
View profile   Translate to Translated (View Original)
 More options 18 Apr, 23:03
From: Sam Albuquerque <sam.albuquer...@gmail.com>
Date: Sat, 18 Apr 2009 23:03:55 +0100
Local: Sat 18 Apr 2009 23:03
Subject: Re: [ElonexOne] Re: Swap file

assuming you have terminal opened,

*dd if=/dev/zero of=/path_to_swapfile bs=1024 count=SIZE*
where /path_to_swapfile will probably be a path to a file which you will be
creating on the SD card.
and SIZE=size in MegaBytes

I do not have my OneT right now with me or else i could be more specific.

Next you need to convert this file to swapfs
*mkswap /path_to_swapfile*
*
*To activate the swapfile*
swapon /pat_to_swapfile*

This will remain activated untill you reboot. The next time you reboot you
will have to run the last command(considering you have the same SD card
mounted)

You can even consider enabling it in /etc/fstab to load on default. But it
will activate only if you have the SDcard/USB connected on boot.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leven2e  
View profile   Translate to Translated (View Original)
 More options 19 Apr, 09:53
From: Leven2e <chillk...@googlemail.com>
Date: Sun, 19 Apr 2009 01:53:49 -0700 (PDT)
Local: Sun 19 Apr 2009 09:53
Subject: Re: Swap file
Cheers,I have tried it yesterday  similar way,I will try it again
today .Thank you.
to Ed: Windows XP uses swapfiles (or virtual memory,pageing file)
too,on default.
to Sam: by the time the SD card (or whatever) wears out,theis LLL will
be history mate.Also,I can't see the option to create swap on the
NAND,and even if I could do that,would extend the lifetime of my
Elonex Onet.

On ápr. 18, 23:03, Sam Albuquerque <sam.albuquer...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leven2e  
View profile   Translate to Translated (View Original)
 More options 19 Apr, 10:09
From: Leven2e <chillk...@googlemail.com>
Date: Sun, 19 Apr 2009 02:09:26 -0700 (PDT)
Local: Sun 19 Apr 2009 10:09
Subject: Re: Swap file
you wrote: dd if=/dev/zero of=/path_to_swapfile bs=1024 count=SIZE

So if I use SD card to have the swapfile on,wich line is the correct?
1; dd if=/dev/zero of=/SD/SD_1/ bs=1024 count=256
2, dd if=/dev/zero of=/SD/SD_1/swap bs=1024 count=256
3, dd if=/dev/zero of=/SD/SD_1/swapfile bs=1024 count=256

Or I guess,the count should be 262144 anyway,assuming I need 256MB
swapplace.(?)

On ápr. 18, 23:03, Sam Albuquerque <sam.albuquer...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Albuquerque  
View profile   Translate to Translated (View Original)
 More options 19 Apr, 12:30
From: Sam Albuquerque <sam.albuquer...@gmail.com>
Date: Sun, 19 Apr 2009 12:30:03 +0100
Local: Sun 19 Apr 2009 12:30
Subject: Re: [ElonexOne] Re: Swap file

The second and third are correct,

the total size in bytes = bs * count

so 256 is the right value if you want to use 256MB


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leven2e  
View profile   Translate to Translated (View Original)
 More options 19 Apr, 12:54
From: Leven2e <chillk...@googlemail.com>
Date: Sun, 19 Apr 2009 04:54:00 -0700 (PDT)
Subject: Re: Swap file
Thanks,does it mean it can be named either swap or swapfile? What's
the difference?

On ápr. 19, 12:30, Sam Albuquerque <sam.albuquer...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Albuquerque  
View profile   Translate to Translated (View Original)
 More options 20 Apr, 00:59
From: Sam Albuquerque <sam.albuquer...@gmail.com>
Date: Mon, 20 Apr 2009 00:59:31 +0100
Local: Mon 20 Apr 2009 00:59
Subject: Re: [ElonexOne] Re: Swap file

you can give any name you choose..


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google