Article View: borland.public.cppbuilder.nativeapi
Article #16359Re: Multi processor
From: Rob
Date: Mon, 19 May 2003 04:15
Date: Mon, 19 May 2003 04:15
34 lines
2472 bytes
2472 bytes
"Lapo" <lapoguidi@inwind.it> wrote in message news:3ec8194d@newsgroups.borland.com... > Hi all, > I have a question and I hope to ask in the right group. Probably not, but I'm not sure what group would answer it. > Well, i would like to know if somebody experienced on programming for a > multi-processor machine. > I'm building a videosurveillance server and it will receive many datas to > convert in graphic format (frames). > The work is hard for a standard computer, so I started thinking about > multiprocessor computer. That depends on whether you are receiving data in parallel streams, and whether data from each stream can be processed without requiring interaction with data from another stream. In that situation, a multi-CPU machine may be able to do the job. The main limiting factor will be the other devices on the machine. For example, 2 processes each attempting to write a file to the same disk will still be limited by the total data that can be written to that disk. You may also wish to consider a network of machines, and doing distributed processing. If your problem is caused by data from a single stream, going to multi-CPU is pointless unless *you* can design a means of distributing data in pieces to different CPUs for processing. (Just to put a winapi flavour on this message, there are ways to do thing under NT; look for functions such as SetThreadAffinity() in the win32 help file as a starting point).
Technical Details
Message-ID:
<3ec85af9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ec8194d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f03c5889e839cd5d X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-18 21:26:17 PST From: "Rob" <nospam@nonexistant.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ec8194d@newsgroups.borland.com> Subject: Re: Multi processor Date: Mon, 19 May 2003 13:45:18 +0930 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 211.26.119.86 Message-ID: <3ec85af9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1053317881 211.26.119.86 (18 May 2003 21:18:01 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail