Megatest

Check-in [596110698a]
Login
Overview
Comment:Added couple lines of helpful hints in the mem allocation script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.65
Files: files | file ages | folders
SHA1: 596110698ae00ddcb774e58070f12f35f67b00ab
User & Date: mrwellan on 2017-12-18 15:39:30
Other Links: branch diff | manifest | tags
Context
2017-12-20
17:15
Changes to fix remove-keep check-in: a91345f8e2 user: ritikaag tags: v1.65
2017-12-18
15:39
Added couple lines of helpful hints in the mem allocation script check-in: 596110698a user: mrwellan tags: v1.65
15:31
Added utility for testing chicken scheme memory allocation check-in: 7953e9dc31 user: mrwellan tags: v1.65
Changes

Modified utils/memproblem.scm from [42d02bf430] to [8c90caee95].








1
2
3
4
5
6
7







(use posix numbers srfi-4)

(define num-iter (or (if (> (length (argv)) 2)
                        (string->number (cadr (argv)))
                        #f)
                    43)) ;; Gigs memory to try to allocate
;; (print "Allocating up to " memsize "G memory. Note that due to the usage of the heap this will actually use up to " (* 2 memsize) "G")
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; Run like this: ((adjust the "30" number to a value that fills memory on the machine you are using)
;; script -c "free -g ; utils/memproblem 30 -:hm128G" memclean.log

;; Fill the cache with something like this:
;; find /path/to/lots/of/files/ -type f -exec cat {} > /dev/null \;


(use posix numbers srfi-4)

(define num-iter (or (if (> (length (argv)) 2)
                        (string->number (cadr (argv)))
                        #f)
                    43)) ;; Gigs memory to try to allocate
;; (print "Allocating up to " memsize "G memory. Note that due to the usage of the heap this will actually use up to " (* 2 memsize) "G")