home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,829 of 117,927   
   mhx to All   
   Re: Memory =?UTF-8?B?dHJhc2hpbmc/IFZpcnR   
   30 Sep 24 21:50:12   
   
   From: mhx@iae.nl   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca