lkml.org 
[lkml]   [2009]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecthow to get a DMA channel near a process?
Hello,

I am playing with DMA engine on a Nehalem box with two X58 chipsets
(Supermicro X8DAH). My understanding is that there are 8 DMA channels on
each chipset, so 8 channels near each processor. Unfortunately, my BIOS
and 2.6.31-rc still wrongly reports the physical location of my devices
(it claims all PCI devices are near the first processor) but I worked
around the problem manually.

The offloaded copy performance changes a lot depending on whether the
process memory is allocated near the DMA device. So first I would like
to know if DMA channels are allocated near the requesting
processor/process. Then I guess it's possible to read the cpu mask near
a given chan by following chan->dev.device up to the pci device, right?
But is there any way to request a DMA channel near a specific socket or
NUMA node or cpu mask?

Thanks,
Brice




\
 
 \ /
  Last update: 2009-08-25 15:07    [W:0.035 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site