Gentoo Archives: gentoo-user

From: Klaus Ethgen <Klaus+gentoo@××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Slow python execution
Date: Sat, 23 Jun 2018 08:55:59
Message-Id: 20180623085544.GA30062@ikki.ethgen.ch
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Hi,
5
6 I encounter especially slow python tool execution especially with
7 ansible or ansible-doc that I use often.
8
9 The machine was running with debian before and the execution time was
10 ok, but with reinstalling it with gentoo, it is painful slow.
11
12 What I have seen is that, while debian installs the python cache files
13 (.pyc) right beside the original module file but gentoo installs them
14 into a __pycache__ subdir. But this is the only ting I found different.
15
16 Anybody an idea what causes the slowliness?
17
18 Beside that, the terminal output of ansible is buffered on gentoo so the
19 output is not instant. While this is a different problem, it makes
20 manual ansible runs even more painful over there.
21
22 Regards
23 Klaus
24 - --
25 Klaus Ethgen http://www.ethgen.ch/
26 pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch>
27 Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
28 -----BEGIN PGP SIGNATURE-----
29 Comment: Charset: ISO-8859-1
30
31 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsuCwUACgkQpnwKsYAZ
32 9qz5ngv/XhSnUBLhFbHycG6dogd3pzxx6YVmuOo6qnHmw9j+mmf6xnYabp4eptO2
33 UPkxjvfTyWKpHMCmOYnKHv4RbHx1nO7hCkkuV6oxm1Nq/ZMOPBmoPoMx/lvTX9Gl
34 a6B9MBrH6F8O+FiZj73UysO0qvJNh7kSmcUIALkOdsHmzAC6+1XiHKBOVRICvWGd
35 5rNDE5re04vpWck8N5XSZoszsmb69ZS1kmK7ukoVE772K1gtoU7q1yb5QGEg4SsK
36 yXtT3AecBEbk9R0Ks1EKTmAppQzg8NVJc2x52YsHzwyD/8puCMkJW3dQcwWafvc8
37 mohHIiQYzy7/pZm8G2LvCPzDhY4BbzlCHjqL6HTuV7xZsR4pkusstJjxUKQiEjv/
38 wZdCwHx7xYYIhJMIXkIZRxwYyivnH1Hbqx6xzSNi+VKvfvFZO0Hh5MMby3K5RXSr
39 61N8ULPHwwhe1TU/uLUDxEWOv8KEkXtnHxalQ0UjGs1pLhY5QlXPH/2PYG0NOJMU
40 s5zM4LbW
41 =hvZk
42 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Slow python execution Klaus Ethgen <Klaus+gentoo@××××××.de>
Re: [gentoo-user] Slow python execution Klaus Ethgen <Klaus+gentoo@××××××.de>
Re: [gentoo-user] Slow python execution Klaus Ethgen <Klaus+gentoo@××××××.de>