🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Tweaking threads

#17517
From: Ted Tripp
Date: Thu, 13 Mar 2003 08:27
18 lines
1945 bytes
Thanks for the info folks.  Yes, it is true I do have plenty of looping.
This is a desktop (so far) app that does multiple http(Indy 9) reads
simultaneously.  It seem to rock the first 10-20 seconds then slows down--I
can see the CPU avail disappear.  I would have thought the reads on my
clunky DSL would act as a built in sleep (though, of course we can assume
the customer may have something better than a clunky DSL).  Anyway, I'll try
introducing a few Sleeps within the next few days and see if I can get some
performance back.  Oddly, I seem to be having more difficulty simply getting
the OnWork Bytes/Sec to work properly, but that's a post for a different ng.

Another question, I vaguely recall reading that threads are initialized with
a certain (default?) amount of memory.  I seem to recall something like
1MB--maybe this was a nonwindows OS...  Anyway, if true, can this, should
this, be tweaked?  If not true, NM.

Again, thanks for all the info...

ttripp
Technical Details
Message-ID: <3e70406f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e6deb3f@newsgroups.borland.com> <3e6e2fb9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,47731b28ebfc1a3
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-13 00:29:08 PST
Reply-To: "Ted Tripp" <ttripp@skypoint.com>
From: "Ted Tripp" <ttripp@skypoint.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e6deb3f@newsgroups.borland.com> <3e6e2fb9@newsgroups.borland.com>
Subject: Re: Tweaking threads
Date: Thu, 13 Mar 2003 02:27:02 -0600
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 199.86.45.13
Message-ID: <3e70406f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047543919 199.86.45.13 (13 Mar 2003 00:25:19 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail