SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 01-16-2009, 10:12 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by jpappas View Post
Despite the warning, I am going to post this anyway (as I posted about ZFS a while back). For Linux there is a ZFS fuse port, as well as BTRFS, plus Sage runs on OSX which has native ZFS. I have not tested either, but btrfs has been mainlined, so that may be "the future." Researching btrfs now, since I just noticed that I picked up the backported version in the repos...
jp
Due to the way it does caching, ZFS is a huge memory hog and I would not run it on a 32-bit kernel, since it is likely to run the kernel out of address space. All released (10.5) MacOSX kernels are 32-bit. MacOSX will not have a 64-bit kernel until 10.6, so I wouldn't trust ZFS on MacOSX until 10.6. Further, I don't think ZFS is really even supported on MacOSX in 10.5.

FWIW, I really wanted to run ZFS too. I'd considered running it under Fuse, but the idea of a user-level process handling my storage just seemed like a bad idea. I did some benchmarks between native RAID-Z ZFS on FreeBSD, RAID-Z ZFS under Fuse on Ubuntu 8.04, and XFS over a raid5 LVM. I'll try to dig them up. The Fuse performance was surprisingly not bad for bulk I/O, but terrible for things like file creates and deletes, which is unsurprising.

Some other creative options I'd considered:

- Run SageTV under Linux binary compatibility on FreeBSD/amd64. FreeBSD has had ZFS support for a few releases now and has quite good support for Linux binaries. This will only work if you have no tuner hardware which requires drivers. Eg, this will only work with a tuner like an HD Homerun.

- Run SageTV in a Linux zone under Solaris. Again, this will only work with a driverless tuner, like HD-HR.

Since I had 3 existing PCI tuners, I just decided to stick with Linux for this machine. My next machine will probably be either FreeBSD or Solaris..

Drew
Reply With Quote
  #22  
Old 01-16-2009, 10:54 AM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
The "warning" was me just having fun. I guess the reasons I want ZFS are: It's shiny and new. Oh, and the checksuming. With that and a parity chunk you can actually correct errors at read or write time. I don't want it enough to get off of Linux for everything else my NAS/Sage/etc box does though. As much as I say I want ZFS or FlexRaid or whatever, I'm really comfortable with md and I'll just trust that for a while. Maybe the ESX based solution will be for the next time!

I had the same thought about FUSE. It seems like too much to trust. Of course, I'm perfectly willing to trust VMs for that. That's not overkill at all ;-). Because of work, I guess I tend to see everything as a VM waiting to be created. Doing something like a Solaris VM that offered up a ZFS pool sover NFS or iSCSI (either to other VMs or even to the ESX host itself as storage for the other VMs virtual disks) isn't so crazy. At least a few companies offer solutions that do things like that. LeftHand networks has got this thing that lets you combine a bunch of local storage on ESX boxes a single pool of shared storage. The ESX host sees this as an NFS or iSCSI share you can then create your actual workload VMs on. I believe it lets you add new boxes with disks as needed and it provides some parity-based redundancy. The "agent" on each ESX box is a virtual machine.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #23  
Old 01-16-2009, 11:26 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by kbyrd View Post
I want ZFS are: It's shiny and new. Oh, and the checksuming. With that and a parity chunk you can actually correct errors at read or write time.
<...>
Because of work, I guess I tend to see everything as a VM waiting to be created. Doing something like a Solaris VM that offered up a ZFS pool sover
What I like about ZFS is it combines the volume manager with the filesystem. The first FS I used which did that was AdvFS back on DEC OSF/1 (aka, Digital UNIX, aka Tru64) in the mid 90s. It gives you an incredible amount of power and flexibility. Adding a drive to an array and expanding the fs to cover it is a one- or two-step operation, not a complex operation like expanding a linux s/w raid array, lvm, and growing the fs.

Drew
Reply With Quote
  #24  
Old 01-29-2009, 12:06 AM
gtallan gtallan is offline
Sage User
 
Join Date: Jul 2005
Location: St. Paul, MN
Posts: 47
Quote:
Originally Posted by drewg View Post
What I like about ZFS is it combines the volume manager with the filesystem. The first FS I used which did that was AdvFS back on DEC OSF/1 (aka, Digital UNIX, aka Tru64) in the mid 90s. It gives you an incredible amount of power and flexibility. Adding a drive to an array and expanding the fs to cover it is a one- or two-step operation, not a complex operation like expanding a linux s/w raid array, lvm, and growing the fs.

Drew
Amazing the threads you find in the Sage forums. We are STILL using Tru64, mainly because of advfs, while waiting for another decent filesystem to become available (ideally ZFS becoming nice and stable on FreeBSD).

No way to run SageTV on an alphaserver though - erm, could try NT 4.0 for Alpha with FX!32 to run x86 apps? Ah, painful memories...
Reply With Quote
  #25  
Old 03-02-2009, 09:52 AM
killervette killervette is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 184
Quote:
Originally Posted by chain View Post
Hallo Rex,

how do you pass thru SATA disk as a SCSI device...

do you change the *.vmx file or what ever
I know this is not the Problem here but some info would be grate
As far as i know, ESXi will not allow a sata disk to be "passed through." I am experiencing this problem right now.
__________________
Rack Server: WHS Intel Quad Core, 3GB RAM, 3 HD PVRs, 4.5TB Storage and growing.
Rack Server: Dual Core 2.0Ghz, 320GB - Home Automation/Security/SQL Server
Client 1: HD Extender on 42" Samsung 1080P LCD and 92" Epson 1080p Projector.
Gaming Rig:Q6600 Quad O/C to 2.8ghz, 4GB DDR2 1066 RAM, Geforce 8600GTS
Misc: Onkyo TX-SR705 Receiver, Netgear Pro Safe 16port Gig Switch, Cat6 cabling, Linksys WRT54G running tomato firmware
Reply With Quote
  #26  
Old 12-29-2009, 03:27 PM
ecsrun ecsrun is offline
Sage User
 
Join Date: Dec 2009
Location: San Jose
Posts: 6
Sorry to dig this one up from the grave but...

I am using ESXi 4.0 with an Intel 5400 chipset.

Certain intel chipsets/motherboards feature directpath (VTD), mainly high-end or server grade motherboards. This technology allows you to "pass through" a PCI/PCI-Express or a PCI/PCI-Express usb card to your virtual machine. You must use ESX or ESXi 4.0 (3.5 did not have this feature).

I have linux based sagetv running in a vm on top of ESXi 4.0 and it is using several tuner cards with success (including a usb tuner via a usb pci card).

Please let me know if you need more information on this.
Reply With Quote
  #27  
Old 12-29-2009, 10:26 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Quote:
Originally Posted by ecsrun View Post
Sorry to dig this one up from the grave but...

I am using ESXi 4.0 with an Intel 5400 chipset.

Certain intel chipsets/motherboards feature directpath (VTD), mainly high-end or server grade motherboards. This technology allows you to "pass through" a PCI/PCI-Express or a PCI/PCI-Express usb card to your virtual machine. You must use ESX or ESXi 4.0 (3.5 did not have this feature).

I have linux based sagetv running in a vm on top of ESXi 4.0 and it is using several tuner cards with success (including a usb tuner via a usb pci card).

Please let me know if you need more information on this.

VT-d wasn't widely deployed when this thread first started, but I can confirm this works with ESX 4.x and above. I've seen lots of problems with VT-d and BIOS on various platforms, but I believe it's all pretty shaken out by now. With VT-d, you can dedicate a thing like a PCI or PCIe to a virtual machine, and have the VM's operating system drive the card, rather than needing drivers for vmkernel.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #28  
Old 12-29-2009, 10:31 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Wild curiosity, can you dedicate a graphics/PEG to a VM?
Reply With Quote
  #29  
Old 12-30-2009, 07:22 AM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Quote:
Originally Posted by stanger89
Wild curiosity, can you dedicate a graphics/PEG to a VM?
I don't think so, yet. I'll ask around.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM

Last edited by kbyrd; 12-30-2009 at 07:27 AM.
Reply With Quote
  #30  
Old 12-30-2009, 12:10 PM
mikejaner's Avatar
mikejaner mikejaner is offline
Sage Icon
 
Join Date: Oct 2003
Location: Chantilly VA
Posts: 2,087
Send a message via MSN to mikejaner
Quote:
Originally Posted by killervette View Post
As far as i know, ESXi will not allow a sata disk to be "passed through." I am experiencing this problem right now.
I know your post is kinda old, but if you never found an answer to this, I am currently doing it with ESXi 4.
Here's how I got it working http://www.vm-help.com/forum/viewtopic.php?f=14&t=1025
__________________
Mike Janer
SageTV HD300 Extender X2
Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5
Reply With Quote
  #31  
Old 01-01-2010, 01:56 PM
gtallan gtallan is offline
Sage User
 
Join Date: Jul 2005
Location: St. Paul, MN
Posts: 47
Quote:
Originally Posted by kbyrd View Post
VT-d wasn't widely deployed when this thread first started, but I can confirm this works with ESX 4.x and above. I've seen lots of problems with VT-d and BIOS on various platforms, but I believe it's all pretty shaken out by now. With VT-d, you can dedicate a thing like a PCI or PCIe to a virtual machine, and have the VM's operating system drive the card, rather than needing drivers for vmkernel.
That's interesting, so potentially even an old tuner card like PVR500 could be passed through to a VM under ESX 4.0? It would be interesting to try (though perhaps academic since the PVR500 will be obsolete soon enough, if/when Comcast kill analog around here...).

I'd seen it described that the device passthrough should work on any recent Intel/AMD system with support of virtualization - does that sound right or is it really Intel-only?
Reply With Quote
  #32  
Old 01-01-2010, 02:53 PM
mikejaner's Avatar
mikejaner mikejaner is offline
Sage Icon
 
Join Date: Oct 2003
Location: Chantilly VA
Posts: 2,087
Send a message via MSN to mikejaner
Quote:
Originally Posted by gtallan View Post
That's interesting, so potentially even an old tuner card like PVR500 could be passed through to a VM under ESX 4.0? It would be interesting to try (though perhaps academic since the PVR500 will be obsolete soon enough, if/when Comcast kill analog around here...).

I'd seen it described that the device passthrough should work on any recent Intel/AMD system with support of virtualization - does that sound right or is it really Intel-only?

Unfortunately no. AFIK Only Server level Intel boards, like ones based on the 5400 chipsets can do this. The reason why is the VT-d extension. I haven't seen any AMD systems which do this.
__________________
Mike Janer
SageTV HD300 Extender X2
Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5
Reply With Quote
  #33  
Old 01-02-2010, 07:38 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Quote:
Originally Posted by mikejaner View Post
Unfortunately no. AFIK Only Server level Intel boards, like ones based on the 5400 chipsets can do this. The reason why is the VT-d extension. I haven't seen any AMD systems which do this.
mikejaner has it right. AMD/Intel each have hardware assisted cpu virtualization, that's been out for a bit. Recently, they have each added device virtualization, it's known as an IOMMU, VT-d, AMD-Vi, and probably several other names. This stuff is usually only found on server motherboards and it's a separate feature from the CPU hardware virtualization (VT and AMD-V).
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a S3 question for unRaid users kricker General Discussion 2 06-02-2008 07:49 AM
Mac as a client for HD playback (question for current users) fyodor SageTV Mac Edition 16 11-01-2007 06:07 PM
Question for R5000HD+HCP501+sage6 users eobiont Hardware Support 1 06-24-2007 06:16 PM
Question for Harmony users lovingHDTV The SageTV Community 3 06-24-2006 01:26 PM
Question for WinTV-PVR-500 MCE users DwarF General Discussion 6 12-25-2005 03:35 PM


All times are GMT -6. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.