Reply
Thread Tools
Posts: 6 | Thanked: 2 times | Joined on Jan 2012
#1
hello, i heard a lot about striping swap via memory card for performance increase.
now if you open battery cover, sd card is ejected automatically.
what happens if i use striping function and take out the memory card when phone is still on?any known issues?

best regards
 

The Following 2 Users Say Thank You to chatumao For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#2
The Micro SD card should NOT be ejected when removing the cover.
Are you sure you have placed it in the proper way?
 
Posts: 6 | Thanked: 2 times | Joined on Jan 2012
#3
what i mean can be found here

http://talk.maemo.org/showthread.php?t=42253

anyone know what the impacts of swap striping are
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#4
You are talking about unmounting, not physically removing the microSD?
Removing the back cover will not unmount the microSD automatically.

I have my swap file on microSD, no impact on removing the back cover itself.

And losing swap is not the worst thing that can happen to your system.
 
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#5
Originally Posted by ade View Post
The Micro SD card should NOT be ejected when removing the cover.
Are you sure you have placed it in the proper way?
The SD card IS ejected when you remove the phone's back cover.

In XTerm type then remove the back cover
Code:
lshal -m
you will get an output something like this
Code:
Start monitoring devicelist:
-------------------------------------------------
platform_mmci_omap_hs_0_mmc_host property button.state.value = false
platform_mmci_omap_hs_0_mmc_host condition ButtonPressed = cover
platform_mmci_omap_hs_0_mmc_host_mmc_card_rca54613 removed
volume_part2_size_805306368 removed
volume_uuid_4E10_7F14 removed
platform_mmci_omap_hs_0_mmc_host_mmc_card_rca54613_storage_mmc_sd_mmc removed
Check in the file manager if you still think it's there.
 

The Following 5 Users Say Thank You to JonWW For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#6
Originally Posted by JonWW View Post
The SD card IS ejected when you remove the phone's back cover.

In XTerm type then remove the back cover
Code:
lshal -m
you will get an output something like this
Code:
Start monitoring devicelist:
-------------------------------------------------
platform_mmci_omap_hs_0_mmc_host property button.state.value = false
platform_mmci_omap_hs_0_mmc_host condition ButtonPressed = cover
platform_mmci_omap_hs_0_mmc_host_mmc_card_rca54613 removed
volume_part2_size_805306368 removed
volume_uuid_4E10_7F14 removed
platform_mmci_omap_hs_0_mmc_host_mmc_card_rca54613_storage_mmc_sd_mmc removed
Check in the file manager if you still think it's there.
You are completly right, the microSD card does gets unmounted.

I got a reboot when I removed the back cover (with swap file on microSD). Another thing learned today, thanx JohnWW
 

The Following 2 Users Say Thank You to ade For This Useful Post:
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#7
Originally Posted by ade View Post
You are completly right, the microSD card does gets unmounted.

I got a reboot when I removed the back cover (with swap file on microSD). Another thing learned today, thanx JohnWW
I learnt this, like you, by putting the swap file on the SD card, I also found that the card was not making the best connections to the phone and sometimes after knocking the phone the SD card would have to reconnect, this was enough to loose the swap file and the phone would reboot, so now I leave the swap file on the emmc instead.
 
Posts: 6 | Thanked: 2 times | Joined on Jan 2012
#8
john, u sound like u know ur territory.
can i strip my swap via sd card and still easily remove it with running system to put data with a pc on it,eg?
or would you advice me not to strip if i want to maintain the capability of removing the card?
thx in advance
 
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#9
Originally Posted by chatumao View Post
john, u sound like u know ur territory.
Not so sure I do, but thanks.

I followed others when everyone was experimenting with their swap files.
My experience was that I that I did not notice any improvements with the swap file on the SD card, I also tried using a script written by vi_, which I modified, to play around with moving the swap file from the eMMC to the SD card and back, the idea was to clean up the swap file and the system would perform better. I didn't notice any appreciable improvements and the system rebooted when the swap file was on the SD card, so I have given up.

Originally Posted by chatumao View Post
can i strip my swap via sd card and still easily remove it with running system to put data with a pc on it,eg?
or would you advice me not to strip if i want to maintain the capability of removing the card?
Have a look at vi_'s script, you could probably re-write it to move the swap file back to the eMMC, remove the card/put your data on it then move the swap file back.
Then again with the swap file on the SD card just try plugging in the USB cable and select Mass storage mode or PC Suite mode and see what happens.

Best of luck
 
Posts: 6 | Thanked: 2 times | Joined on Jan 2012
#10
alright, i understand that i loose hot swap capabilities when using this method.
furthermore i understand that it does not really boost performance, at least not notably. i think i will leave it for now.
thanks for the advice and all your time, have a nice day!
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:14.