Go Back   Android Forums > Android Phones > HTC Desire > Desire - Support and Troubleshooting

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old January 4th, 2011, 02:56 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 85
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 3 Times in 3 Posts
Default Partitioning sd card; what is swap size?

I'm in the process of rooting and flashing a ROM, but when I came to this point it left me wondering.

I'm following this guide:
HTC Desire - [GUIDE] Rootin & Flashing ROM

During the partition of the SD card, I chose 512MB for the EXT, and the next option is to set the "swap".

I've read a few places it should be 0MB, but what is it and why should it be 0?

danielvago is offline  
Reply With Quote
sponsored links
Old January 4th, 2011, 02:59 PM   #2 (permalink)
Senior Member
 
EddyOS's Avatar
 
Join Date: Apr 2010
Location: Liverpool, Merseyside
Posts: 1,681
 
Device(s): HTC Sensation, HTC Desire
Carrier: Not Provided

Thanks: 9
Thanked 284 Times in 226 Posts
Default

SWAP=0, EXT=1024MB, Rest=FAT32
__________________
HTC Sensation (Z710e)
ROM: 3.32.401.5 EUR (IML74K) | HBOOT: 1.27.0000 S-OFF | Recovery: Clockwork Mod 5.0.2.0 | Radio: 10.58.9035.00U_10.15.9035.02_2 | Kernel: Stock
EddyOS is offline  
Reply With Quote
The Following User Says Thank You to EddyOS For This Useful Post:
Thoragh (January 8th, 2012)
Old January 4th, 2011, 03:03 PM   #3 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 85
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 3 Times in 3 Posts
Default

I don't know what that means.

I was using ROM Manager to do it, and it only had two options:

First I only had an option to chose my EXT size (sat it to 512MB, this was the highest amount) and the next, and final, option was the "swap size".
danielvago is offline  
Reply With Quote
Old January 4th, 2011, 03:54 PM   #4 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

set 0 as eddy said.
SUroot is offline  
Reply With Quote
Old January 4th, 2011, 05:20 PM   #5 (permalink)
Senior Member
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 6,113
 
Device(s): HTC Desire (depreciated) Blue Galaxy s3 (international)
Carrier: Not Provided

Thanks: 114
Thanked 1,016 Times in 838 Posts
Default

swap is a trick used by linux/unix for caching memory to a drive to free up ram to be used for more active programs
kernels have to have swap enabled to run it and in some cases it can make the devices lag if swap is not configured correctly and even worse if there is no compcache
fast sdcard is needed and tbh its rare you run out of ram with desire anyway
__________________
Samsung Galaxy S3 (playing with roms still)
Siyah Kernel

Rastaman-FB is offline  
Reply With Quote
The Following User Says Thank You to Rastaman-FB For This Useful Post:
wetbiker7 (March 7th, 2012)
Old January 8th, 2012, 07:52 PM   #6 (permalink)
New Member
 
Join Date: Mar 2011
Posts: 3
 
Device(s): HTC EVO 4G (Sprint)
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Sorry for jumping in here, but I was having a similar issue although I was using ClockworkMod's built in partitioner. Just making sure I read right that I should have the ext partition set at 1GB and a swap of 0 since my guess is the Android OS doesn't really use it?

I am using an HTC EVO 4G and planning on putting on the newest version of the Kinged Shooter ROM by Team Nocturnal.
Thoragh is offline  
Reply With Quote
Old January 8th, 2012, 08:15 PM   #7 (permalink)
Member
 
Join Date: Mar 2011
Gender: Male
Posts: 146
 
Device(s): HTC Sensation XE, HTC Desire S, HTC Desire
Carrier: StarHub

Thanks: 22
Thanked 16 Times in 14 Posts
jonathan.hs.cheng
Default

Thought it depends on whether the ROM needs it right? Otherwise as mentioned it should be set to 0.
__________________
HTC Sensation XE Pyramid PVT Ship S-On RL HBoot: 1.29.0000 ROM: Elegancia Sense 4.1 v3.4.1 (Stock) Kernel: Bricked
1st_Paladin is offline  
Reply With Quote
Old January 8th, 2012, 08:21 PM   #8 (permalink)
New Member
 
Join Date: Mar 2011
Posts: 3
 
Device(s): HTC EVO 4G (Sprint)
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Cool I will dig around some more. I saw it mention that I should partition my SD card, but did not see a specified size nor swap file mentioned.
Thoragh is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > HTC Desire > Desire - Support and Troubleshooting
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.