HDD or SD/MMC for swap/optware?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
BSNT
DD-WRT Novice


Joined: 16 May 2011
Posts: 2

PostPosted: Mon May 16, 2011 3:15    Post subject: HDD or SD/MMC for swap/optware? Reply with quote
This is a simple noob question. I've been searching and reading, by the way.

I'm using a WRT350N.

I want to use the USB for two things; storage and jffs/optware/swap for torrenting. Does the swap space need to be on a solid state device (flash drive of SD card)?

Can I use a single mechanical drive for swap space, optware/samba as well as network storage, or do I need to use a usb hub and have two devices?

Thanks for the help!
Sponsor
anthonymo
DD-WRT User


Joined: 09 Apr 2008
Posts: 266

PostPosted: Mon May 16, 2011 3:59    Post subject: Reply with quote
You can use either flash or a hardrive for all those just create different partions for each thing; ie opt ware/swap/storage. Please note, using a USB drive for swap will wear it out much quicker as it can only be written/erased a certain number of times which varies based on the device and how much your router hits swap.
_________________
--------------------------------
WRT-54G V2 Running 16403M VINT Eko std-nokaid
WR850G V2 Running v24-Sp1 10011 mini
Ubnt Routerstation running 16785 Std
Cisco Valet (M10)16773M NEWD-2 K2.6 Eko std-nokaid-small
BSNT
DD-WRT Novice


Joined: 16 May 2011
Posts: 2

PostPosted: Mon May 16, 2011 4:49    Post subject: Reply with quote
Thanks for the reply. That's what I thought but I wanted to make sure. I was concerned that the HDD wouldn't be as fast as a USB flash drive, but now that I think of it the USB 2.0 connection will be the limiting factor anyway. I hope the poor router won't have to hit the swap partition much! (it has 32MB, should be ok)
synik4l
DD-WRT Novice


Joined: 09 Oct 2011
Posts: 2

PostPosted: Mon Oct 10, 2011 15:09    Post subject: Reply with quote
So if i were to use a usb stick that would be okay for this? and when u say it will wear it out quicker...are we talking like within a month or something? or quicker as in like a 6months to a couple years? and i was also thinking about not using a usb thumb drive and just using a seperate partition on my external HD. What do you think of that?
nuke12
DD-WRT User


Joined: 10 Jul 2011
Posts: 90

PostPosted: Mon Oct 10, 2011 16:59    Post subject: Reply with quote
synik4l wrote:
So if i were to use a usb stick that would be okay for this? and when u say it will wear it out quicker...are we talking like within a month or something? or quicker as in like a 6months to a couple years? and i was also thinking about not using a usb thumb drive and just using a seperate partition on my external HD. What do you think of that?


Swap is always better if it's on a hard drive v.s. flash memory.

No one can answer your question about how long flash memory will last with swap running on it.

1) it depends on the read/write cycles of the flash device. They are all different.
2) How intense is swap being used by your system? Linux prefers not to use swap but what your doing on the system decides. I might not use swap on my setup as often as you do. So it would last longer for me. I've been told that for some people, it's only lasted a month.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum