[winswitch] mmap acceleration with Docker

Antoine Martin antoine at nagafix.co.uk
Thu Oct 8 06:05:33 BST 2015


On 08/10/15 03:08, Timothy Hobbs wrote:
> I have set the TMPDIR directory to a directory in the containers home
> directory which is shared between both the server and client. The
> client and server both claim that they are attached via mmap (see
> attached logs). However, when I look in the directory where the mmap
> allegedly resides, no mmap file is there. Is this a problem?
No.
The file is deleted from the filesystem after the initial handshake, at
that point both ends should have a handle on it already.
It prevents any other process from interfering with it and ensures the
file is deleted when both the client and server terminate.

Cheers
Antoine

>
> Tim
>
> On 10/07/15 20:06, Antoine Martin wrote:
>> On 07/10/15 23:18, Timothy Hobbs wrote:
>>> I have tried to setup mmap acceleration for subuser, however, I
>>> haven't been met with any success. I have described my trouble here
>>> https://github.com/subuser-security/subuser/issues/214 . Any input
>>> would be greatly appreciated :)
>> http://xpra.org/trac/wiki/Usage/Docker
>>
>> Summary: the mmap file is created by the client and the server will try
>> to find it in under the same path.
>> You have some minimal control over the location where the file is
>> created via $TMPDIR, and we can even provide a more specific override if
>> you need one.
>>
>> Cheers
>> Antoine
>>> Tim
>>> _______________________________________________
>>> shifter-users mailing list
>>> shifter-users at lists.devloop.org.uk
>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>> _______________________________________________
>> shifter-users mailing list
>> shifter-users at lists.devloop.org.uk
>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
>
>
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users




More information about the shifter-users mailing list