View previous topic :: View next topic |
Author |
Message |
crashoverride025 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Feb 2005 Posts: 31 Location: Elon, NC USA
|
Posted: Sun Jul 03, 2011 8:46 am Post subject: SSDs and HDs |
|
|
I have a mixture of SSD harddrives and the types that spin. Is there a way, with linux, that I can setup the SSD to be a caching/immediate access drive and the HDDs to be more for archiving? The caching policy that I would want would be for the SSD to hold new files, and frequently used files.
I'm not really looking for the SSD to increase my storage, just to provide an immediate access device. Also, the files modified on the SSD should be considered to be a modified file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9334
|
Posted: Sun Jul 03, 2011 9:39 am Post subject: |
|
|
None that I know of. Something like this would need to work as some kind of RAID mode, hiding the actual cache drive from the system.
Intel has done that with its Z68 chipset, they introduced 'Smart Response Technology'.
My Seagate Momentus XT also uses 4GB integrated SLC memory as an OS agnostic file access cache. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaggyStyle Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/182793287489b53393316c.gif)
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Sun Jul 03, 2011 11:07 am Post subject: Re: SSDs and HDs |
|
|
crashoverride025 wrote: | I have a mixture of SSD harddrives and the types that spin. Is there a way, with linux, that I can setup the SSD to be a caching/immediate access drive and the HDDs to be more for archiving? The caching policy that I would want would be for the SSD to hold new files, and frequently used files.
I'm not really looking for the SSD to increase my storage, just to provide an immediate access device. Also, the files modified on the SSD should be considered to be a modified file. |
how about smart resource ordering? for example, /var, /usr/bin and /usr/portage on a raid of only SSD and the rest on a raid of mechanical? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asturm Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 05 Apr 2007 Posts: 9334
|
Posted: Sun Jul 03, 2011 11:11 am Post subject: |
|
|
The additional wear caused by the portage tree might not be worth the better speed just for updates.
I would at least put also /etc on an SSD, /boot might also subtract some fractions of a second from the same-titled process.
It all depends on the size of your SSD, for expensive small SLC drives our mentioned strategy would be fine, for cheaper, bigger MLC drives I would go for the include everything, outsource stupid storage locations approach. /usr/portage(/distfiles) and /usr/src come to mind immediately, also intelligently organize your /home directory so that you can 'mount -o bind' sparsely used locations to the HDD, but keep /home/<user> on the SSD itself to have much boosted startup times of your favourite DE moloch (e.g. KDE has a huge hidden directory there). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyker Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Mon Jul 04, 2011 10:22 am Post subject: |
|
|
Isn't there a framework that was semi-recently added to the kernel for doing this sort of thing? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aCOSwt Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Mon Jul 04, 2011 10:39 am Post subject: |
|
|
Well, I cannot tell how to achieve this in a filesystem independent manner.
What I can tell is that, if you are open to zfs, zfs allows exactly what you are looking for thanks to the L2ARC feature.
This speeded up my freeBSD (zfs native) system dramatically.
http://blogs.oracle.com/brendan/entry/test
So, if you are open to fuse or beta linux native zfs... do not hesitate.
I believe it should work but I did not actually test under my ext-only Gentoo-Linux. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
drescherjm Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|