🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11875

Re: Poor thread performance on multi-CPU machines

#11875
From: Yahia El-Qasem
Date: Fri, 09 Jan 2004 19:55
13 lines
1540 bytes
what you describe is pretty typical for memory-intensive apps... esp. if
every thread regularly allocates several things on the heap which is very
common with VCL... the bottleneck in this case is in the memory manager in
the runtime library.
there are several optimized 3rd-party memory managers which give you a lot
more scalability on multi-CPU machines...
another option - depending on your app logic - would be to preallocate all
needed memory for every thread...

we are currently investigating 3rd-party memory managers for one of our
apps...

Yahia
Technical Details
Message-ID: <3fff076e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fff05ce$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6aabc16a59635b8c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-09 12:09:13 PST
Reply-To: "Yahia El-Qasem" <Yahia.El-Qasemno.spam@mgh.metro-ag.de>
From: "Yahia El-Qasem" <Yahia.El-Qasem@mgh.metro-ag.de>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fff05ce$1@newsgroups.borland.com>
Subject: Re: Poor thread performance on multi-CPU machines
Date: Fri, 9 Jan 2004 20:55:59 +0100
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 80.133.60.91
Message-ID: <3fff076e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073678190 80.133.60.91 (9 Jan 2004 11:56:30 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail