Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting into SSD ExpressCache possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sat Jun 22, 2013 3:11 am    Post subject: Booting into SSD ExpressCache possible? Reply with quote

I'm thinking on getting a laptop similar to this one here

http://wiki.gentoo.org/wiki/Samsung_Series_5_Ultra_530U3C-A02PT

which comes with a small SSD 24Gb which is used as a cache for windows booting (SanDisk ExtremeCache) but it's big enough to hold a gentoo installation. I've never had such a machine but since the kernel recognizes de SSD as a SATA device then I figured I can reformat it and install the kernel there. I don't have any use for windows, but I wander if I can wipe it out entirely and boot from that SSD or the BIOS won't allow to boot from that drive?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Sat Jun 22, 2013 5:25 am    Post subject: Reply with quote

I have one of those machines with the Intel Rapid Start Technology/Cache.

Yes this does show up as a regular disk, and well, though I have not really messed with it, I don't think it's bootable because of BIOS.
If your BIOS can change boot drives all the better...

I'm not even using that disk right now, it still has a hibernation partition on it (unused) and the rest of it is a ext3fs for me...

The machine behaves very unhappy under Linux when it suspend/resumes. I still have yet to figure out why...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sat Jun 22, 2013 10:26 am    Post subject: Reply with quote

Thanks for the reply. I imagined that suspend/resume could be not nice with rapidstart. I've seen reports where people say it does work fine. I guess I'll have to wait and see. As for booting, I figured that in the worst case scenario I can have the bootloader in sda (the hard drive) and from there try to boot a kernel in sdb1 (the iSdd drive).
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Sat Jun 22, 2013 3:10 pm    Post subject: Reply with quote

When I looked at this a while ago I didn't see any compatibility software for linux and windows to share the cache - that would have been the best solution. I couldn't even get that disk repartitioned for Windows when the cache was enabled.

I ended up disabling the cache and getting a SSD to replace the HDD...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sat Jun 22, 2013 3:15 pm    Post subject: Reply with quote

eccerr0r wrote:
When I looked at this a while ago I didn't see any compatibility software for linux and windows to share the cache - that would have been the best solution. I couldn't even get that disk repartitioned for Windows when the cache was enabled.

I ended up disabling the cache and getting a SSD to replace the HDD...

But I don't want to have Windows and Linux sharing the cache, I'll wipe out completely Windows from that machine.
Back to top
View user's profile Send private message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 530

PostPosted: Sun Jun 23, 2013 5:08 am    Post subject: Reply with quote

I'm not sure if you can boot from it (probably not), while Linux doesn't support ExpressCache, the current Linux kernel (3.9) supports dm-cache, and the next version of Linux kernel will support bcache, both of which are similar in purpose (but are not compatible with) ExpressCache.

A word of warning, however: While with dm-cache you can take an existing an existing volume and add a cache, this is NOT the case with bcache - the origin and cache volumes must be formatted as bcache volume (obliterating any existing data).
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Fri Jun 28, 2013 7:42 pm    Post subject: Reply with quote

That was sort of the nice thing with using the Intel "fake fake raid" system using BIOS (fake raid, as in BIOS RAID. Fake fake raid as in, cache raid using BIOS) - you can get boot sectors from the cache system. If you don't flush out the boot sectors cached on the ssd... and you'll get really fast boot times. If you never use a piece of software on the HDD? all of that will expire from the cache and your most frequently used stuff will be copied to it.

This is the hope, have Linux on the HDD, use it enough and it all gets cached off of the SSD and backed by the HDD. Stuff you don't use often, including Windows, will stay on the HDD only, but you can still access and use it like a normal disk. This theoretically is possible as SRT is supposedly LBA level caching. Now knowing how/where the tags are stored is a mystery... so no software support :( I suspect it'd be part of the dm-raid system someday if it is possible...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sun Jun 30, 2013 5:16 pm    Post subject: Reply with quote

I finally got the machine here. No problems in installing and booting a kernel off the ssd. The setup was simply to have a small EFI partition and /home on the HD (along with portage tmp directory to protect the SSD) and let / and /boot be at the SSD. Grub2 on the EFI partition has no problem in booting the kernel in the SSD and it's working quite fast.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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