Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1630214 > unrolled thread
| Started by | Knut Omang <knut.omang@oracle.com> |
|---|---|
| First post | 2017-04-25 08:40 +0200 |
| Last post | 2017-04-25 23:30 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory Knut Omang <knut.omang@oracle.com> - 2017-04-25 08:40 +0200
Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory Logan Gunthorpe <logang@deltatee.com> - 2017-04-25 19:10 +0200
Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory "Stephen Bates" <sbates@raithlin.com> - 2017-04-25 23:30 +0200
| From | Knut Omang <knut.omang@oracle.com> |
|---|---|
| Date | 2017-04-25 08:40 +0200 |
| Subject | Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory |
| Message-ID | <tA2iL-148-41@gated-at.bofh.it> |
On Mon, 2017-04-24 at 10:14 -0600, Logan Gunthorpe wrote: > > On 24/04/17 01:36 AM, Knut Omang wrote: > > My first reflex when reading this thread was to think that this whole domain > > lends it self excellently to testing via Qemu. Could it be that doing this in > > the opposite direction might be a safer approach in the long run even though > > (significant) more work up-front? > > That's an interesting idea. We did do some very limited testing on qemu > with one iteration of our work. However, it's difficult because there is > no support for any RDMA devices which are a part of our primary use > case. Yes, that's why I used 'significant'. One good thing is that given resources it can easily be done in parallel with other development, and will give additional insight of some form. > I also imagine it would be quite difficult to develop those models > given the array of hardware that needs to be supported and the deep > functional knowledge required to figure out appropriate restrictions. From my naive perspective it seems it need not even be a full model to get some benefits, just low level functionality tests with some instances of a device that offers some MMIO space 'playground'. Or maybe you can leverage some of the already implemented emulated devices in Qemu? Knut > > Logan
[toc] | [next] | [standalone]
| From | Logan Gunthorpe <logang@deltatee.com> |
|---|---|
| Date | 2017-04-25 19:10 +0200 |
| Message-ID | <tAc8q-7wp-19@gated-at.bofh.it> |
| In reply to | #1630214 |
On 25/04/17 12:30 AM, Knut Omang wrote: > Yes, that's why I used 'significant'. One good thing is that given resources > it can easily be done in parallel with other development, and will give additional > insight of some form. Yup, well if someone wants to start working on an emulated RDMA device that actually simulates proper DMA transfers that would be great! >> I also imagine it would be quite difficult to develop those models >> given the array of hardware that needs to be supported and the deep >> functional knowledge required to figure out appropriate restrictions. > > From my naive perspective it seems it need not even be a full model to get some benefits, > just low level functionality tests with some instances of a > device that offers some MMIO space 'playground'. Yes, the nvme device in qemu has a CMB buffer which is a good choice to test with but we don't have code to use it for p2p transfers in the kernel so it is a bit awkward. We also posted [1] to qemu which was also handy to test with using a small out of tree module. But I don't see a lot of value in it if you completely ignore any hardware quirks. Logan [1] https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg04331.html
[toc] | [prev] | [next] | [standalone]
| From | "Stephen Bates" <sbates@raithlin.com> |
|---|---|
| Date | 2017-04-25 23:30 +0200 |
| Message-ID | <tAgc1-1z6-1@gated-at.bofh.it> |
| In reply to | #1630808 |
>> Yes, that's why I used 'significant'. One good thing is that given resources >> it can easily be done in parallel with other development, and will give additional >> insight of some form. > >Yup, well if someone wants to start working on an emulated RDMA device >that actually simulates proper DMA transfers that would be great! Give that each RDMA vendor’s devices expose a different MMIO I don’t expect this to happen anytime soon. > Yes, the nvme device in qemu has a CMB buffer which is a good choice to > test with but we don't have code to use it for p2p transfers in the >kernel so it is a bit awkward. Note the CMB code is not in upstream QEMU, it’s in Keith’s fork [1]. I will see if I can push this upstream. Stephen [1] git://git.infradead.org/users/kbusch/qemu-nvme.git
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web