On Tue, May 29, 2012 at 1:33 PM, Guru Devanla <[email protected]> wrote: > I did run the test using Live CD 12.04 64-bit. I see the same kind of > behavior. > > May be I should also mention that my machine slows down for things like > Flash and I am forced to restart my machine during such instances as well ( > just after watching 3/4 mi of video). I am not sure if this is related at > all.
Ah, could it be that your CPU is overheating (and hence downclocking itself), which kills performance? The whole SymPy test suite is CPU-bottlenecked, but some of the tests in test_integrals are particularly CPU-intensive. The CPU fan in my laptop died a few weeks ago, and these are definite symptoms of it. To check, try monitoring your fan speeds or, failing that, CPU temperatures. If they are consistently high (eg. my laptop goes up to 80 degrees), then that is the definite issue. Now, was the issue with Flash video present from the start? If so, it's possible your fans just aren't supported by current Linux kernels (or badly supported); in that case, perhaps try if Windows would work better. If it's a recent issue, it might be that you had the same situation as me, so you could look into getting a replacement fan. The third, and best possible, option, is that you've just had a gradual build-up of dust in your CPU: in that case, get a can of compressed air and try to clean it as much as you can (there are guides for this on the internet, but the most important thing to remember is to use just short bursts). Even just blowing from the outside (without dissasembling your whole laptop) can be a tremendous help. Good luck! (also note, don't listen to random guys on the internet too much -- ie. if your laptop stops working, it's not my fault :)) > > One more observation was, after a complete restart, running ./bin/test > sympy/test/test_integrals.py does take just under 2 minutes. But, subsequent > runs slow down drastically and takes up to 50 minutes.. > > Anyways, I don't plan on spending any more time on this now that I am out of > the weekend, and plan to switch to 12.04 ubuntu, hoping it will fix my flash > related problems as well. > > -Guru > > > > > > > > > On Sunday, May 27, 2012 12:17:33 PM UTC-5, Vladimir Perić wrote: >> >> On Sun, May 27, 2012 at 6:26 PM, [email protected] >> <[email protected]> wrote: >> >> SymPy is creating a cache, it may be that the cache is filling up your >> >> available RAM and the machine starts to thrash. >> >> (Does anybody know how much RAM a full SymPy test suite requires?) >> >> >> > My bot runs well on a 512MB machine. >> >> Yeah, the tests used to leak horribly, but we fixed that when we were >> trying to get Jenkins to run, by clearing the cache between every two >> files (see issue 2585 [1]). >> >> [1] http://code.google.com/p/sympy/issues/detail?id=2585 >> >> > >> > And I do not get how one run of the tests (integrals) affects >> > consecutive runs... >> > >> >> Unfortunately, brings us back to swapping issues. I guess the root of >> the cause is the 32-bit OS (and perhaps less importantly, the 32-bit >> Python). Does anyone actually develop with a 32-bit Linux? >> >> Guru, if you happen to have too much spare time :), perhaps you could >> try running a LiveCD of the 64-bit version of Ubuntu, and see if that >> helps perhaps. Other than that, I'm quite clueless. >> >> -- >> Vladimir Perić > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/sympy/-/r6JQ05B1DAMJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. -- Vladimir Perić -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
