Re: Memory trashing? Virtual memory question.

Liste des GroupesRevenir à cl forth 
Sujet : Re: Memory trashing? Virtual memory question.
De : mhx (at) *nospam* iae.nl (mhx)
Groupes : comp.lang.forth
Date : 30. Sep 2024, 22:50:12
Autres entêtes
Organisation : novaBBS
Message-ID : <c6ae01e82c7ebbf4ea67f02770d47778@novabbs.com>
References : 1 2 3 4 5 6
User-Agent : Rocksolid Light
Bug found - the units were wrong.
iSPICE> 13 tt ( allocate 13 GB )
1.000 seconds elapsed. ok
iSPICE> 13 tt .TICKER-INFO
1.113 seconds elapsed.
AMD Ryzen 7 5800X 8-Core Processor, timer & PROCESSOR-CLOCK of 4192MHz
Peak WorkingSetSize         = 13982 MB
Current WorkingSetSize      = 67 MB
Total memory size           = 31 GB
Available memory size       = 17 GB
Total paged memory size     = 40 GB
Available paged memory size = 16 GB
I now use ...
SetProcessWorkingSetSizeEx(
 hProcess,
 1000000000, /* dwMinimumWorkingSetSize 1GB */
 16000000000, /* dwMaximumWorkingSetSize 16GB */
 QUOTA_LIMITS_HARDWS_MAX_DISABLE /* Flags */
);
This minimizes the time for a/the first (large)
allocation and discourages the OS to swap out
deallocated memory.
-marcel

Date Sujet#  Auteur
30 Sep 24 * Re: Memory trashing? Virtual memory question.6mhx
30 Sep 24 +* Re: Memory trashing? Virtual memory question.4albert
30 Sep 24 i`* Re: Memory trashing? Virtual memory question.3mhx
30 Sep 24 i `* Re: Memory trashing? Virtual memory question.2mhx
30 Sep 24 i  `- Re: Memory trashing? Virtual memory question.1mhx
30 Sep 24 `- Re: Memory trashing? Virtual memory question.1John Ames

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal