Author serhiy.storchaka
Recipients davin, dtasev,, pitrou, sbt, serhiy.storchaka
Date 2017-07-16.09:11:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, /dev/shm is ok on my computer.

But there is yet one drawback of this patch. Currently the size of shared array is limited by the free space on the file system for temporary files. If it isn't enough you can easy set TMPDIR to other path. In 2.7 and with hardcoded /dev/shm it is limited by the size of physical memory (maybe plus swap). It is not easy to increase it, especially for unprivileged user.

The effect of hardcoding /dev/shm can be achieved by setting TMPDIR to /dev/shm. Using os.ftruncate() adds yet about 20% of speed up. This looks mainly as a documentation issue to me. The regression and the workaround should be documented.
Date User Action Args
2017-07-16 09:11:49serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, sbt,, davin, dtasev
2017-07-16 09:11:49serhiy.storchakasetmessageid: <>
2017-07-16 09:11:49serhiy.storchakalinkissue30919 messages
2017-07-16 09:11:49serhiy.storchakacreate