Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VT-d vs. IOMMU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Wed Aug 04, 2010 5:07 pm    Post subject: VT-d vs. IOMMU Reply with quote

Hello,

I would like to know wether someone has experience with both in terms of performance using KVM. By now I know, that the VT-d present in Socket 1156 setups has less features than their X58 counterpart. How important those missing features are, cannot be judged by me.

However, I wonder how AMDs IOMMU compares? Haven'd really found anything on google which of these two architectures ist more advanced (or wether it really matters at all) in regards to virtualisation, especially hardeware passthrough, but maybe someone here has some experiences or technical knowledge.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Fri Aug 06, 2010 11:05 pm    Post subject: Reply with quote

It's my understanding that IOMMU was implemented not so much with virtualization in mind (although this could be a potential application), but more to prevent peripheral devices from crashing the whole system by writing data where they shouldn't.

For example, an active firewire port can be used to gain access to all the memory of the host system (this has been demonstrated on windows and linux to bypass password authentication), but an IOMMU could be configured to prevent this.

I don't think that an IOMMU is particularly useful for hardware passthru to a VM, since if the VM is running as root, it already has access to the hardware, and just a kernel module or something might be needed to hook interrupts or things like that.
Back to top
View user's profile Send private message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Mon Aug 09, 2010 6:18 am    Post subject: Reply with quote

Well, IOMMU is vital for hardware passthrough, as it enables somewhat secure DMA access of guest domains to hardware. As far as I understand, of course. However, let's just exchange the more generic term IOMMU with AMD-Vi, how it is called now.

So the qustion is, how does AMD-Vi compare to the second generation VT-d as to be found in X58 boards? And how crucial are those VT-d feature missing in socket 1156 CPUs compared to their X58 father in real life?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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