- AW: - - Idle time

From: Zinn, Helmut <"Zinn,>
Date: Fri, 29 Apr 2005 14:25:19 +0200

----boundary-LibPST-iamunique-566849098_-_-
Content-type: text/plain

Dear Doug, dear Wojtek,

be careful. You lead so up the garden path. MS Windows (95, 98, ME, NT, 2000
and XP) are NOT a Real-Time Operating System !!!

The same program with the same data may run usually in 5 seconds, but
occasionally it needs 15 seconds or even more.

Do you know what happens if the interrupt occurs before the last one is
finish and this repeats a lot of time? Certainly you send a bug report to OM
and you forget to tell about that you have change idle Period to 1 ms.

Do you know how much spare time is available at the 1 ms rate? Are there
enough time left for the application programs? What happens if the garbage
collection needs more time?

Of course you can develop and shows the principle of Real-Time-Application
with Blackbox, but for the final work you need a Real-Time-Operating System.
OM sells such a Real-Time Operating System. It is calling PORTAS.

Regards

Helmut Zinn



-----Ursprüngliche Nachricht-----
Von: blackbox{([at]})nowhere.xy
Douglas G. Danforth
Gesendet: Freitag, 29. April 2005 01:41
An: blackbox{([at]})nowhere.xy
Betreff: [BlackBox] - - Idle time


skulski{([at]})nowhere.xy
> Doug:
>
> does this mean that one can simply set idlePeriod to 1 and get 1 ms
> turnaround time? I cannot investigate timing right now because
> I am way behind with preparing the experiments we are running
> at the current timer rate. However, if increasing the speed
> is as simple as changing one number, that would be great.

You goaded me into trying it! I wasn't sure whether HostMenus was wired
into BlackBox.exe or loaded as a module but anyway I changed the idle
time from 50ms to 1ms recompiled and rebooted BlackBox.
It did change the response and nothing crashed!

The new measured response time was 10ms.

So you can get a factor of 5 but not a factor of 50 speedup.

-Doug

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

---------------

Diese E-Mail wurde auf Viren ueberprueft.

IG Metall

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-566849098_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJ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URvdWdccGFyDQpc
cGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJ
QkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0KLS0tLS0tLS0tLS0tLS0tXHBhcg0K
XHBhcg0KRGllc2UgRS1NYWlsIHd1cmRlIGF1ZiBWaXJlbiB1ZWJlcnBydWVmdC5ccGFyDQpccGFy
DQpJRyBNZXRhbGxccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0
IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9ufX0AMTIRICTxJeA/LMAnIA=


----boundary-LibPST-iamunique-566849098_-_---
Received on Fri Apr 29 2005 - 14:25:19 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:15 UTC