Swap and Microdrive

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

Swap and Microdrive

Postby qashar » Sun Dec 09, 2012 6:10 am

Hi all,

I'd like to share some experience with all the forum. When I started playing with ALARM, I did not really need the swap, but I've created one anyway just for testing. I did not have a hard drive always connected so I've created one on the flash drive. This is a very BAD idea, as written on the instructions and basically on any post about the argument or where someone is saying that his swap is on the flash drive. As already mentioned many times, the problem is the limited number of write cycles of flash memories. If it's likely you are not going to have problems copying files on your portable flash drive, the continuos writing activity of the swapping can easily kill the flash. Back to the story, I had no problem on some good quality and low usage pogoplug (basically the swap is never touched), but one cheap flash memory died. I was using ALARM to control a camera for a timelapse and imagemagick was processing one image out of ten, requiring the swap to complete the job. After three timelapses of 7 hours each, the flash memory did not start at all for the fourth one. I'm glad that it did not died during one. It wasn't easy to realize that the problem was the memory and not something else, I was really pissed, but it was my fault. The memory is really dead, I did not even blink, and the pogoplug did not realize that something has been connected (same behavior on my laptop).

Browsing around, I found a microdrive, basically a 1-inch hard drive with a USB interface. Those microdrives were used a while ago for portable MP3 players and with a compact flash interface. Max capacity 8GB.

Do you think that I'm ok using them for the system plus swap?
Many thanks for sharing your opinion and beware where you put your swap ;)
qashar
 
Posts: 11
Joined: Thu Apr 21, 2011 3:39 pm

Re: Swap and Microdrive

Postby xenoxaos » Fri Dec 14, 2012 10:01 am

It would work although transfer rates for microdrives can be even slower than a flash drive. Best option would be to use a regular usb hdd for os/swap.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Swap and Microdrive

Postby qashar » Tue Dec 18, 2012 3:18 am

Thanks for the feedback. I read about the lower speed somewhere, but I got the feeling that the difference is not that big. The problem is that the camera plus the plug can is hanged up in the air and I don't need more than 32Gb, so any hard drive is a bit overkilling. I'll give a try to the microdrive and I'll try to post a feedback.
qashar
 
Posts: 11
Joined: Thu Apr 21, 2011 3:39 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 12 guests