Hi,
I have a fairly computational intensive program for which:
1. The run times are not linear with the file size, and I'd expect
them to be. For example:
;; file1.dat size is 497826 bytes
Evaluation took:
29.56 seconds of real time
28.423624 seconds of user run time
0.539603 seconds of system run time
[Run times include 2.086 seconds GC run time.]
0 calls to %EVAL
0 page faults and
140,209,408 bytes consed.
;; file-2.dat is 3681423 bytes
Evaluation took:
696.32 seconds of real time
680.71875 seconds of user run time
4.668893 seconds of system run time
[Run times include 12.403 seconds GC run time.]
0 calls to %EVAL
0 page faults and
821,655,552 bytes consed.
File size ratio:
(/ 3681423 497826.0) => 7.3949995
Run time ratio:
(/ 696.32 29.56) => 23.556158
2. I've also received a "cannot allocate memory" msg
mmap: Cannot allocate memory
fatal error encountered in SBCL pid 4093:
remap_free_pages: page moved, 0x000016d2 ==> 0x00000000
LDB monitor
when processing some larger data files.
I'm running the sbcl-1.0.2 port on FreeBSD 5.5
and have put
(declaim (optimize (speed 3) (space 0) (safety 0) (debug 0)))
in each file.
Any performance tuning or other ideas?
Does SBCL, need to be told to use more memory?
Many thanks for any help!
Cheers,
David
|