PDA

View Full Version : SSD in a Tivo?


BigDogues
10-11-2006, 06:26 AM
Has anyone ever tried putting a SSD in a Tivo as the primary drive? Yes, I know they are very expensive but I am wondering if it could be done. The reason I ask is that I building a new home and I am considering going off grid. (over $30,000 to get electricity to the site :eek: ) So I am wondering if it could be done. Right now 8 gigs are about $300. (Yeah, I know, tiny.) What I am thinking is having some short term storage on the SSD and longer term stuff on a regular HD.
What do you think? Is this even within reason? Is there a better way to completely minimize power consumption in a Tivo? (besides shutting it off :p )

stevel
10-11-2006, 06:50 AM
A TiVo cannot use a smaller HD than the one it shipped with. Furthermore, you need more than a Solid State Disk, you need a Flash-based disk - one that holds the data when powered off and one designed for lots of read-write cycles and which has an IDE interface.

I can't quite see what the point of this would be - the rest of the TiVo uses more power than the disk does. Today's TiVos are quite miserly - maybe 25W steady state. Powering off is the only way to save power, but then it won't record, will it?

Amnesia
10-11-2006, 07:22 AM
I can't quite see what the point of this would be - the rest of the TiVo uses more power than the disk does.And let's not forget that you're going to need a source to feed the TiVo and that will most likely take power. And you're certainly going to need something to view the recorded programs on and that will take lots of power.

The TiVo's hard drive is the least of your concerns...

OLdDog
10-11-2006, 07:43 AM
There are many ways to save power but the power consumption of a TiVo is VERY tiny when compaired to other things we concider important.

This guy: http://michaelbluejay.com/electricity/ says he has reduced his usage to about 150 KWH per month. I have not gotten near that but his ideas have cut my bills in half and I run 3 DTiVos and 2 computers 24/7.

BigDogues
10-11-2006, 07:55 AM
25 watts? Really? That's it? When you say "steady state" do you mean in standby?
I thought for sure it would have been considerably more.
Hmmm, looks like I've better to invest in a Kill-A-Watt meter before having anymore brainstorms. :p

stevel
10-12-2006, 12:10 PM
Standby or no standby - no difference. Yes, you'd probably find a power meter very handy. Older TiVos were around 40-45W.

ThreeSoFar
01-31-2011, 11:38 PM
See also here (http://www.tivocommunity.com/tivo-vb/showthread.php?p=8354526#post8354526) (which I also linked to here (http://www.tivocommunity.com/tivo-vb/showthread.php?p=8354530#post8354530)).

I think this would work great. (Post followups to the latter link above please.)

Dan203
02-01-2011, 01:39 AM
I don't think an SSD would help much. I think the slow boots on a TiVo have more to do with the lack of processing power and RAM then the speed of the drive. It might help a little, but it's not going to be the same night and day difference that you'd see booting Windows on a modern PC.

Plus they would only be able to use it for the OS. SSDs would not deal well with the constant writing/overwriting that a TiVo does for the live buffer. They have to use very sophisticated load balancing algorithms just to get a few years use under normal PC conditions. In an environment where the data was constantly being written/rewritten they would burn out very quickly.

Not to mention that the price per GB of SSDs is still 10X+ that of HDs. A small OS only drive typically costs more then an entire TiVo.

Dan

HiJon89
02-01-2011, 08:59 AM
Holy thread resurrection

alansh
02-01-2011, 03:07 PM
This has come up before. I don't think an SSD would be ideal for a TiVo. TiVos aren't really I/O limited, they're CPU limited, so you won't see any better performance. The slow bootup is due to the security checks of computing the file signatures on every program on the disk. The constant writing of the live buffer would probably shorten the SSD life substantially over what you see in a PC.

Poochie
02-01-2011, 03:20 PM
FYI, here's (http://www.tivocommunity.com/tivo-vb/showthread.php?t=454580) an actual report of a user (TexasGrillChef) putting a SSD drive into their TiVo HD.

smbaker
02-01-2011, 04:43 PM
There are techniques where an SSD can be used as a persistent cache for data on the hard drive, and that would be the most effective way to utilize SSD on a Tivo. There are hybrid SSD/traditional drives that could be used and implement an algorithm to determine what information to cache. These hybrids will get more popular over the next few years.

Using SSD for storing video content makes no sense at all. The storage medium is either fast enough for video playback or it isn't. It's a binary proposition. The hard drive is already good enough. Furthermore, as others have pointed out, SSDs wear quickly when written to frequently.

Using SSD for database storage may offer some meager benefit. My S1, S2, and HD were all pretty quick operating the UI over the database to search and retrieve programming. The Premiere is the only one that can be horribly slow, and that's probably due to some stupidity that crept into the design, like waiting for network content to be fetched, or dealing with an inefficient flash interface.

Using SSD for OS/boot can offer some real advantage as many people think the reason for the painfully slow boot is because it's doing security checksums of the OS partition. Since this is read-dominated and a SSD is good at read performance and the OS partition rarely changes, I'd expect some improvement. Of course, a better solution would be to simply drop the annoying security scan and open the box back up to hackers. I've seen other DVRs boot quickly. There's not excuse why Tivo can't too.

mattack
02-01-2011, 10:28 PM
Not just boots, but getting to Now Playing on, for example, a S1 that has a big hard drive *IS* I/O bound... right? (Swapping, basically.) Since there are/were cache cards to add that supposedly sped that up.

So a SSD would speed that up. (Though IMHO probably not worth the cost.)

Thom
02-01-2011, 10:32 PM
I'm about to try this in the next few weeks. Just got the ssd and a large hard drive.

To keep the expense down, I plan to use a small ssd for the A drive and a large hard drive for the B drive.

I intend to customize the partition layout, putting all the Media partitions on the B drive, and all Application and other partitions on the A drive.

This will require making the partition structure by hand, plus copying each partition by hand with the dd utility. Then I'll have to hexedit the TiVo partition map in /dev/a10, then fixdivorce /dev/a10.

Should happen this month. I'll be reporting back here on whether it worked or not.

jcthorne
02-02-2011, 06:14 AM
Sounds interesting, let us know how it goes. Would be really neat if such a hardware upgrade could significantly improve the tivo's speed. Great that you are trying it out.

bschuler2007
02-02-2011, 08:29 AM
SSD will be a huge fail in a Tivo. Due to the limitations and issues with SSD technology, the drive will fail within a year or so. Just look up the millions of articles about the waste of a SSD on a PC without TRIM enabled... now add the stress of a constant rewritten cache and recorded and deleted shows.. and yep.. the thing is going to die an early death. On forums, I am seeing alot of the early non-trim enabled drives dieing now.

Putting an SSD in a Tivo is like giving a 2 year old a lifetime supply of cigarettes, cocaine, and alcohol and say he's going to have a wild life. Yep.. wild, but he will be dead before he's 21.

If your insistant on trying this route.. I'd suggest trying a hybrid drive.. but even that I think the speed boost is more driver related than drive related.

Thom
02-02-2011, 11:35 AM
I'm using an IBM X25-M G2 ssd. According to anandtech, it maintains performance without TRIM.

stevel
02-02-2011, 12:26 PM
I'm using an IBM X25-M G2 ssd. According to anandtech, it maintains performance without TRIM.

You mean Intel, not IBM, and it does need TRIM to keep up performance, though it degrades less over time than some others. SSD is wasted on a TiVo - the rest of the system is too slow to take advantage of an SSD.

DeWitt
02-02-2011, 01:55 PM
Totally not related, but I was in a presentation yesterday where a database appliance configuration was shown that had 5 Terabytes of Flash memory! Yikes!

Not for Primary storage, purely as a performance cache....

smbaker
02-02-2011, 02:00 PM
Totally not related, but I was in a presentation yesterday where a database appliance configuration was shown that had 5 Terabytes of Flash memory! Yikes!

Not for Primary storage, purely as a performance cache....

I wonder if it was something like facebook/flashcache? http://www.facebook.com/note.php?note_id=388112370932

To keep the expense down, I plan to use a small ssd for the A drive and a large hard drive for the B drive.

I intend to customize the partition layout, putting all the Media partitions on the B drive, and all Application and other partitions on the A drive.

Please keep us advised about how this turns out. What series Tivo are you going to do this on? I wouldn't mind a similar setup for my Premiere (does the Premiere support two internal drives?) if it works out. Partitioning the seldom-written stuff onto the SSD and the frequently-written to the hard drive is certainly the way to go if you can pull it off.

Thom
02-02-2011, 04:24 PM
It is going on a Series 3 with OLED display.

DeWitt
02-02-2011, 04:27 PM
I wonder if it was something like facebook/flashcache? http://www.facebook.com/note.php?note_id=388112370932



Oracle Exadata

www.oracle.com/exadata

lrhorer
02-02-2011, 05:34 PM
It is going on a Series 3 with OLED display.
I have an S3 with a pair of 1T Hitachi 7200 RPM drives and two CableCards. (Note these drives are definitely not known for being miserly on power). The unit has a TA, but I'm not including it in the measurements. Powering up both drives and the TiVo simultaneously results in a peak power usage of 79 watts in the first few seconds, after which the power usage drops to 53 watts and then drifts back up to 63 watts. I suspect once the unit stops rebuilding the database, the usage may fall even further, and disabling the tuners may shave a few watts, as well. Dropping off the external drive and just monitoring the TiVo with its internal drive results in a peak of 50 watts. After booting is complete, this settles to 48 watts. Using a 5400 RPM "green" drive might shave another 5W or so. The SSD might drop it to near or below 25.

As to the performance, the posts above are perhaps a bit misleading. While it is true the TiVo can be stretched to over 90% CPU utilization in some cases, in general it is neither a matter of being I/O or CPU bound. It's just that the real-time processes take precedence over any ordinary tasks, such as searching the database. The TiVo simply will not allow user space tasks to eat up all the bandwidth, no matter what. Here's a snapshot, for example, of the TiVo that was just booted. It is still updating its database, and will continue to do so for the next couple of hours, as well as buffering both tuners. Yet, as you can see, it's really not using all that much in the way of CPU resources.

All that said, the SDD will perhaps somewhat improve the responsiveness of the menus, but it won't do anything at all for recording.

Mem: 39876K used, 2552K free, 0K shrd, 748K buff, 22724K cached
Load average: 4.15, 3.87, 2.43 (State: S=sleeping R=running, W=waiting)

PID STATUS RSS POL PRI %CPU %MEM COMMAND]
373 D 11M NONE 0 21.6 28.1 swedishChef
482 R 660 NONE 0 3.9 1.5 top
411 S 8584 RR 5 0.3 20.2 swedishChef
2 SW 0 FIFO 40 0.3 0.0 keventd
101 SW 0 FIFO 40 0.3 0.0 b_event
349 S 11M RR 5 0.1 28.1 swedishChef
477 S 11M NONE 0 0.1 28.1 swedishChef
476 S 11M RR 5 0.1 28.1 swedishChef
297 S 4980 NONE 0 0.1 11.7 swedishChef
403 S 11M FIFO 10 0.0 28.1 swedishChef
353 S 11M RR 5 0.0 28.1 swedishChef
386 S 11M FIFO 10 0.0 28.1 swedishChef
327 S 11M FIFO 10 0.0 28.1 swedishChef
404 S 11M FIFO 10 0.0 28.1 swedishChef
365 S 11M RR 5 0.0 28.1 swedishChef
393 S 11M RR 5 0.0 28.1 swedishChef
330 S 11M RR 5 0.0 28.1 swedishChef
384 S 11M FIFO 10 0.0 28.1 swedishChef
367 S 11M RR 5 0.0 28.1 swedishChef
328 S 11M FIFO 11 0.0 28.1 swedishChef

markbanang
08-26-2011, 09:28 AM
I'm about to try this in the next few weeks. Just got the ssd and a large hard drive.
...
I'll be reporting back here on whether it worked or not.

Did you ever try this Thom? If so, how did it go? Do you have any benchmarks for with and without the SSD A drive?

Thom
08-27-2011, 06:02 PM
Did you ever try this Thom? If so, how did it go? Do you have any benchmarks for with and without the SSD A drive?

Yes, I did. I handcrafted my partition layouts so all the large MFS media partitions were on drive B, and all other partitions were on drive A. The TiVo would boot and display the opening animation. I had just enough time to press the TiVo button to display the main menu, when it would reboot. From my reading, it appears that there is some piece of software in the TiVo that checks to see if the partitions are located where it expects them to be.

I have come up with another way of doing it that I think will work, but I just haven't gotten around to it yet. Basically, if you use a hardware RAID controller (I've identified two I think will work), a small SSD and a larger hard drive to appear as a single large hard drive (RAID controller JBOD mode aka Large mode aka whatever-the-controller-manufacturer-calls-it), the SSD will get all drive reads and writes to the first sector addresses of the combined disk drive, and the actual hard disk will get all the remaining reads and writes. If you make sure that all the non-MFS-media partitions are in the SSD portion of the combined disk drives, you will gain a speed advantage in accessing the boot image, root filesystem, var filesystem, and database portions of the TiVo filesystem structure, with the TiVo software being happy that all drive A partitions are actually on drive A where they should be. Drive B would just be a hard drive. I have all the hardware needed to try this, I just haven't felt like tearing it apart again. My main desire for trying this is to get quicker response to the various menu commands.

stevel
08-27-2011, 10:34 PM
What about a drive with built-in flash memory for acceleration? I think Seagate had one of these.

Thom
08-28-2011, 02:19 AM
I thought about using five 500GB Seagate Hybrid drives in a RAID 5 array for the A drive. That would have 16GB of flash memory for read caching of most used sectors. They would cost more, plus they would have to be mounted, so I'm not planning on trying that, at least for a while.

Series3Sub
08-28-2011, 09:37 AM
bschuler2700 said it. SSD's have a limited number of writes/rewrites. HDD's do not. Can one see the flaw. One is better off running SpinRite on an HDD, then installing it on your TiVo for longevity :). What is the point of supposed power savings if the SSD dies at a very young age compared to HDD's. And at the current cost of SSD's, one would easily wipe out any supposed power savings. Why can't a WD "Green" HDD be sufficient? And those batteries for going off the grid are gonna be your much bigger worry.

smbaker
08-28-2011, 11:21 AM
I have come up with another way of doing it that I think will work, but I just haven't gotten around to it yet. Basically, if you use a hardware RAID controller (I've identified two I think will work),

Which two hardware controllers have you found? I'd like to look into this as well.

stevel
08-28-2011, 12:36 PM
As I understand it, the limited number of writes issue has disappeared for modern SSDs. However, performance will suffer if you can't take advantage of TRIM or garbage collection, so if you are going to get an SSD for a TiVo, get one that has automatic garbage collection.

Thom
08-28-2011, 05:04 PM
Which two hardware controllers have you found? I'd like to look into this as well.

These two look like they will work. Both of them are standalone hardware RAID controllers, so don't think they are merely port multipliers. The Addonics LOOKS like it goes into a backplane slot, but it is actually a standalone board mounted to a PC bracket for convenience:
http://www.addonics.com/products/host_controller/ad5hpmsxa.asp
http://www.datoptic.com/esata-hardware-raid-controller-spm394.html
EDIT: This one should also work: http://www.amazon.com/SATA-multiplier-hardware-RAID5-Controller/dp/B004JPUZWU/ref=sr_1_1?ie=UTF8&qid=1310772766&sr=8-1&tag=vglnk-c1001-20

The Addonics HPM-XA has the advantage of being small enough to mount inside the TiVo's chassis along with the five 2.5" hybrid drives, and it costs $90. It's disadvantage is a cumbersome method of initiating a recovery/rebuild.

Here is a test/review of the Addonics HPM-XA:
http://www.ozhardware.com.au/Storage-Hardware-Reviews/Addonics-5-Port-HPM-XA-RAID-Controller.html

The DatOptic SPM394 has the advantage of being much easier to use due to it's backlit LCD display and integrated controls and LED indicators. It's disadvantage is a $209 price (from Amazon: http://www.amazon.com/Port-Multiplier-SATA-hardware-controller/dp/B004JPHAF0/ref=sr_1_1?ie=UTF8&qid=1310772786&sr=8-1&tag=vglnk-c1001-20 ), plus the 5.25" half-height adapter it is mounted in makes it much larger.

I already have an SPM394. The actual circuit board is pretty small, and the LCD display is separate and connected via a small ribbon cable, but the switches and LED indicators are soldered to the circuit board. It would be nice to mount the circuit board inside the TiVo, and bring the LCD display, switches and indicators to the outside of the TiVo with a ribbon cable, but that would mean soldering wires to the switch and LED indicator pads, plus making a board to mount them on. There are 13 LEDs and 4 switches.

I read a review of the SPM394 somewhere (can't find it now), and I seem to remember it had comparable performance to the Addonics, perhaps slightly better.

Here's a guy who built a 32TB RAID array using multiple SPM394s:
http://www.tomshardware.com/forum/265641-32-40tb-server-performance-issue
http://www.mpcclub.com/forum/showthread.php?t=22898&page=4