On 2026-11-06 07:44, rbowman wrote:
> On Thu, 5 Nov 2026 18:43:16 -0800, Lars Poulsen wrote: >
>> I got in serious trouble for this, >> because the process scheduler assumed that 500 ms was "a long time", and >> a program that was going to wait for a long time should be swapped out >> of memory.
> > It is a long time :) For example if you click on a button and there is no > perceptible change for 500 ms the users will complain about the program > being slow.
There's actually standards and best practices for that investigated in surveys; accepted upper limits for interactive activities typically vary in about the range of 100-300 ms. Anything above that is usually perceived as extremely disturbing a continuous activity. (These limits had been our landmarks, what we needed to achieve and guarantee in our client software development 30+ years ago. - Of course we strived for minimum latency.) Janis PS: It's beyond me why one would artificially add 500-1000 ms delays (as had been reported here), and who would actually accept that. But maybe that was just a joke (that I missed), or a hilarious myth.