On Nov 29, 2008, at 11:26 AM, Justin C. Walker wrote: > On Nov 29, 2008, at 07:35 , pong wrote: > >> Hi, >> >> I wonder if SAGE is optimized for multi-core CUPs (people told me >> that many programs don't). > > This is not an easy question to answer. Sage is built from many > components that were not specifically designed with Sage or > multiprocessor issues in mind. > > Most programmers and algorithm designers, even today, don't think in > terms of a "tight-coupled" multiprocessor implementation. Some do > think of loose coupling. The distinction is the amount of information > needed to be shared between the "cooperating processes". For example, > Michael and a host of others worked hard to get the Sage build to take > advantage of multiple processors. This was not easy, because the > components come from many sources, and their build process was not > designed to take advantage of these systems, but it was feasible > because the different components need very little information from the > other components (basically, 'make' has to know what the dependencies > are, so it can find independent builds to run at the same time). > > The software that makes up Sage is another matter entirely. Code does > not automatically work optimally on a multiprocessor system (whether > multi-core or multiple single-core chips). That effort takes a lot of > work.
One important component of Sage, ATLAS, does take advantage of multiple processors, which is directly taken advantage of in all the linear algebra (numeric and exact). - Robert --~--~---------~--~----~------------~-------~--~----~ 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/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
