Date: Tue, 8 Jun 1999 13:26:06 -0700 From: Woody Carey <carey@roguewave.com> To: "'Bruce Pennypacker'" <BruceP@msn.com>, freebsd-questions@FreeBSD.ORG Subject: RE: dual processor question Message-ID: <EB55BCC162CAD111BD0A00A0C9979E3201944D39@cvo1.cvo.roguewave.com>
next in thread | raw e-mail | index | archive | help
It all depends on your application. If the application has a single thread of execution, then adding another processor will do you no good. How parallel is your application? If the program is not already multithreaded, but is grossly parallel, then threading it and running it on a dual-processor system will speed it up. > > Hi all, > > We have an application that is very memory & cpu intensive, > and can take > upwards of 18 hours to run. The application essentially > loads 4.5 million > records of data into an array in memory and then does a lot of pattern > matching through the data. It's currently running on a > Pentium II 400MHz > machine with 256MB RAM that's running FreeBSD 2.2.8-RELEASE . We're > considering upgrading the machine for a number of reasons and > one of the > things we're trying to determine if going with a dual > processor machine > would help out much in terms of cutting down the time it takes this > application to run. Not knowing much about the details of > multi-processor > machines I have no idea what kind of benefit simply adding > another processor > would provide. > > Would simply upgrading to a dual processor system & FreeBSD > 3.x help improve > the performance of this application, or would it take a > fairly hefty rewrite > of the application to make the second CPU useful? I have visions of > rewriting this thing to fork subprocesses & share memory, > etc. Would all > that be necessary? > > Thanks, > > -Bruce > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB55BCC162CAD111BD0A00A0C9979E3201944D39>
