Date: Tue, 8 Jun 1999 16:34:53 -0400 From: "Bruce Pennypacker" <BruceP@msn.com> To: "Woody Carey" <carey@roguewave.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: dual processor question Message-ID: <002501beb1ee$5e2d1c20$2612040a@bpennypacker_02.directhit.com>
next in thread | raw e-mail | index | archive | help
The application is currently single threaded. I wasn't aware that FreeBSD supported multithreading. Some messages I came across when searching on freebsd.org seemed to indicate that it didn't support multithreading... -Bruce >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 > 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?002501beb1ee$5e2d1c20$2612040a>