[Python-Dev] GIL behaviour under Windows
tseaver at palladion.com
Thu Oct 22 19:05:50 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Antoine Pitrou wrote:
> Sturla Molden <sturla <at> molden.no> writes:
>> With two threads and a check interval og 100, only 61 of 100000 check
>> intervals failed to produce a thread-switch in the interpreter. I'd call
>> that rather fair.
> This number lacks the elapsed time. 61 switches in one second is probably
> enough, the same amount of switches in 10 or 20 seconds is too small (at least
> for threads needing good responsivity, e.g. I/O threads).
I read Sturla as saying there were 99,939 switches out of a possible
100,000, with sys.checkinterval set to 100.
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Python-Dev