From owner-freebsd-questions Tue Jun 8 13:31:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.email.msn.com (cpimssmtpu09.email.msn.com [207.46.181.31]) by hub.freebsd.org (Postfix) with ESMTP id 45FBF153F4 for ; Tue, 8 Jun 1999 13:31:30 -0700 (PDT) (envelope-from BruceP@msn.com) Received: from bpennypacker_02 - 153.34.158.228 by email.msn.com with Microsoft SMTPSVC; Tue, 8 Jun 1999 13:31:29 -0700 Message-ID: <002501beb1ee$5e2d1c20$2612040a@bpennypacker_02.directhit.com> From: "Bruce Pennypacker" To: "Woody Carey" , Subject: Re: dual processor question Date: Tue, 8 Jun 1999 16:34:53 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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