There is a new comment in the ticket submitted by The Stackless Python Mailing List to TruBrain
Comment added by : The Stackless Python Mailing List
Comment Content:
Hi there Andreas.
What kind of socket solution are you using? I.e. I'm assuming that you are using "tasklet blocking" to juggle IO over sockets. What modules are you using?
On Linux, that ultimatyly is achieved by using select()/poll() system calls. It is possible that something changed on the lower level causing unexpected behaviour. Possibly there are unexpected wakeups happening, i.e. the process thinks there are data to be read from the socket (because of some select/poll notifiation) but when it tries to get it, there is nothing.
If you can distill some dummy code to demonstrate the problem, i.e. without all your "game" stuff, perhaps only listening on a socket, or something, that would be helpful.
Cheers!
K
On 15 September 2017 at 22:30, Andreas Olsson <andreas.t.ols...@gmail.com> wrote:
HelloNot sure if this mail list is still active, but I need a nudge in the right direction, so I give it a try. :-)I have developed a small game using stackless + pygame. For the development, I am switching between Windows, Ubuntu, and Mac OS. Most of the time, this works pretty well.Ever since my Macbook Pro upgraded to MacOS Sierra, I have had problems with Stackless. When running activities that involves sockets and stackless tasklets everything becomes extremely slow, and the CPU load of the Python pocess goes up to between 120 and 130 %. This also happens when running without Pygame. I have tried to download the latest installer, and build from source, but no luck. The same Python source code runs fine on Windows and Ubuntu.I am completely lost, it would be very grateful if anyone could nudge me in the right direction for what this could be :-)Thank you in advance and best regards,AndreasPSThe game got invited to IndieCade as a "Festival 2017 Selection", which I am rather exited about as this is our first game (jeromegames.com). This is also the reason I am trying to fix this, as I need to bring a few laptops to the festival.
_______________________________________________
Stackless mailing list
Stackless@stackless.com
http://www.stackless.com/mailman/listinfo/stackless
50488:553856
_______________________________________________ Stackless mailing list Stackless@stackless.com http://www.stackless.com/mailman/listinfo/stackless