Well, in MY experience, the bottleneck is usually hard drive accesses (which are actually the reason that low RAM is slow, because it has to use swap memory). Of course, this is just a shot in the dark. I actually kind of doubt that it is the issue here.
On Oct 21, 2010, at 6:16 AM, Øyvind Jensen wrote: > to., 21.10.2010 kl. 06.43 -0500, skrev Ryan Krauss: >> Thanks for the suggestion. I will see if I can find a place to clear >> the cache. Ironically, the slower machine has more RAM than the fast >> one. > > Oh, well then maybe the problem is something else. clear_cache is only > useful if you are running out of RAM. > >> >> I didn't know what generic-pae meant until I just googled it. I guess >> it is a way to allow 32-bit machines to have more than 3 GB of RAM. >> The laptop has 4 GB. Does the fact that the kernel is using a generic >> processor cause problems? >> > > Sorry, I don't know much about hardware. > > Sometimes Sympy can behave slightly different on two computers because > certain functionalities in Python are platform dependent, like the hash. > However, differences should only occur for unimportant things, such as > the order of terms in an expression. This is what I was thinking. What is the uname for your other machine. SymPy should only be running differently if one machine is 32-bit and the other is 64-bit (in that case, there are certain cases where a different hash can make an operation slower on one machine than on another). Also, just to be sure, what are the respective versions of Python you are running on each machine? That too can make a difference, both for speed in general, and for a different calculation path. Aaron Meurer > > If there is a specific statement where a hang occurs, it may indicate an > issue that is triggered only on certain platforms. Could you see if you > get the same traceback every time you kill the hanging script? (or > almost the same) In that case, could you post it here? > > Øyvind > >> Thanks, >> >> Ryan >> >> On Thu, Oct 21, 2010 at 6:37 AM, Øyvind Jensen <[email protected]> >> wrote: >>>> Any idea what could make this machine so unhappy to run sympy? >>> >>> In my (limited) experience, memory is the bottle-neck when you see the >>> kind of slow down you describe. You may try to clear the cache at some >>> point in your calculation. >>> >>>>>> from sympy.core.cache import clear_cache >>>>>> clear_cache() >>> >>> Øyvind >>> >>>> >>>> Thanks, >>>> >>>> Ryan >>>> >>> >>> -- >>> 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. >>> >>> >> > > -- > 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. > -- 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.
