python thread scheduler?
project2501
project2501 at project2501.cor
Wed Apr 7 06:27:58 EDT 2004
More information about the Python-list mailing list
Wed Apr 7 06:27:58 EDT 2004
- Previous message (by thread): python thread scheduler?
- Next message (by thread): python thread scheduler?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
to clarifgy, i'm seeing responec times as low as 0.3 seconds when the client has 5 worker threads... rising to an average of about 8 seconds with 50 threads... and more ith 100 threads. here is what the python threads do (simplified): while (work units remaining): take time send request to server get responce from server take time record time difference sleep for a small interval (to yield, and to vary the request rate) reduce work unit by 1 i get flat graphs of responce time against request rate (which doubles a specified number of times, after 10 work units. i would expect the graphs to start to vary non-linearly ... especially at higher numbers of threads (say 50 or more) and request rates of 256 per second or more ...
- Previous message (by thread): python thread scheduler?
- Next message (by thread): python thread scheduler?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list