-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@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 iEYEARECAAYFAkrgkO4ACgkQ+gerLs4ltQ4yZgCfZyRfWKPBzRb52v7RtLAMlNts SOIAnjgxqJ1Wovas5cHoju8kwbvn/9Es =2SDx -----END PGP SIGNATURE----- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com