So how does Python do context switching, [anybody]? -- --------------------------------------------------------------- Elliott Chapin http:// www3.sympatico.ca/echapin "Doug Fort" <dougfort at downright.com> wrote in message news:3ADA06B9.A2292921 at downright.com... Our website load testing system system, http://www.stressmy.com is very much like an agent-based simulation. My experience in running on Linux is that the system bogs down on a few hundred threads. (This is the 2.2 kernel, 2.4 is supposed to be better). We recently started using select() in a single threaded model for this reason. What platform are you running on? How many threads did your prototype manage? ...........................................................................................snipped In retrospect, it's the lack of a true continuation model in C++ which is to blame. The C++ implementation suffers from extensive context-switching burden, having to frequently swap out all the registers and manage the stacks for all the threads, whereas Python-with-Continuations does not. at the heart of the Python system was an optimized C-extension. Joe Kraska BBN Technologies San Diego CA -- Doug Fort Senior Meat Manager Downright Software LLC -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20010415/383d3b7c/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4