Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #132374
| From | mhx@iae.nl (mhx) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Memory trashing? Virtual memory question. |
| Date | 2024-09-30 15:21 +0000 |
| Organization | novaBBS |
| Message-ID | <d039b668ce34bd3330fcb4497d8649b7@novabbs.com> (permalink) |
| References | <nnd$0b021237$626a8881@55133cc8c31c4c51> <nnd$56a65fea$30328e9e@fe5292c2aea63e4d> <f9e2a709183796c9cee0d60d24b0cf89@www.novabbs.com> <nnd$70fe424a$27f9d60b@74640bc44a399edf> |
On Mon, 30 Sep 2024 9:53:32 +0000, albert@spenarnc.xs4all.nl wrote: I played around with it some more on Windows 11. FORTH> .TICKER-INFO AMD Ryzen 7 5800X 8-Core Processor, timer & PROCESSOR-CLOCK of 4192MHz Peak WorkingSetSize = 650 kB Current WorkingSetSize = 631 kB Total memory size = 31 GB Available memory size = 16 GB ok FORTH> 0 VALUE am1 ok FORTH> TIMER-RESET #2000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.215 seconds elapsed. ok FORTH> TIMER-RESET #2000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.155 seconds elapsed. ok Faster the second time. FORTH> TIMER-RESET #8000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.902 seconds elapsed. ok FORTH> TIMER-RESET #8000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.616 seconds elapsed. ok FORTH> TIMER-RESET #8000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.583 seconds elapsed. ok FORTH> TIMER-RESET #8000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.586 seconds elapsed. ok With 8 GB the OS apparently is busy in the background and takes 4x as long, a linear increase. FORTH> TIMER-RESET #1000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.076 seconds elapsed. ok If we go back to 1 GB the memory/diskspace is apparently pooled. FORTH> TIMER-RESET #12000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 1.120 seconds elapsed. ok The timing suggests that the pool is increased, not build from 0. FORTH> TIMER-RESET #12000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.908 seconds elapsed. ok FORTH> TIMER-RESET #12000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.881 seconds elapsed. ok FORTH> TIMER-RESET #12000000000 ALLOCATE ?ALLOCATE TO am1 .ELAPSED am1 FREE ?ALLOCATE 0.883 seconds elapsed. ok FORTH> .TICKER-INFO AMD Ryzen 7 5800X 8-Core Processor, timer & PROCESSOR-CLOCK of 4192MHz Peak WorkingSetSize = 12075 kB Current WorkingSetSize = 631 kB Total memory size = 31 GB Available memory size = 16 GB The WorkingSetSize reflects the program's size + allocated memory. AFAIR, this was a lot worse a few years ago. Mysteriously, available memory size is still 16 GB. -marcel
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
Memory trashing? Virtual memory question. albert@spenarnc.xs4all.nl - 2024-09-23 14:18 +0200
Re: Memory trashing? Virtual memory question. David Schultz <david.schultz@earthlink.net> - 2024-09-23 08:27 -0500
Re: Memory trashing? Virtual memory question. albert@spenarnc.xs4all.nl - 2024-09-24 11:47 +0200
Re: Memory trashing? Virtual memory question. Schlomo Goldberg <schlomo.goldberg@mailinator.com> - 2024-10-10 19:38 +0000
Re: Memory trashing? Virtual memory question. albert@spenarnc.xs4all.nl - 2024-10-11 10:37 +0200
Re: Memory trashing? Virtual memory question. anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2024-09-23 16:48 +0000
Re: Memory trashing? Virtual memory question. albert@spenarnc.xs4all.nl - 2024-09-24 14:33 +0200
Re: Memory trashing? Virtual memory question. Paul Rubin <no.email@nospam.invalid> - 2024-09-24 11:11 -0700
Re: Memory trashing? Virtual memory question. mhx@iae.nl (mhx) - 2024-09-23 17:51 +0000
Re: Memory trashing? Virtual memory question. minforth@gmx.net (minforth) - 2024-09-23 18:19 +0000
Re: Memory trashing? Virtual memory question. mhx@iae.nl (mhx) - 2024-09-23 19:10 +0000
Re: Memory trashing? Virtual memory question. minforth@gmx.net (minforth) - 2024-09-24 07:47 +0000
Re: Memory trashing? Virtual memory question. albert@spenarnc.xs4all.nl - 2024-09-24 14:20 +0200
Re: Memory trashing? Virtual memory question. antispam@fricas.org (Waldek Hebisch) - 2024-09-30 02:40 +0000
Re: Memory trashing? Virtual memory question. mhx@iae.nl (mhx) - 2024-09-30 07:26 +0000
Re: Memory trashing? Virtual memory question. albert@spenarnc.xs4all.nl - 2024-09-30 11:53 +0200
Re: Memory trashing? Virtual memory question. mhx@iae.nl (mhx) - 2024-09-30 15:21 +0000
Re: Memory trashing? Virtual memory question. mhx@iae.nl (mhx) - 2024-09-30 17:42 +0000
Re: Memory trashing? Virtual memory question. mhx@iae.nl (mhx) - 2024-09-30 21:50 +0000
Re: Memory trashing? Virtual memory question. John Ames <commodorejohn@gmail.com> - 2024-09-30 07:54 -0700
csiph-web