freenode/#lisp - IRC Chatlog
Search
13:07:54
Harag
is it just me or is hash tables in sbcl 2.0.5 a lot faster than 2.0.0!!! My db test is loading 1mil records with hash-table indexes in 17 seconds where it was taking 100 seconds previously!!!
13:20:58
phoe
Harag: http://www.sbcl.org/all-news.html mentions a few hash table modifications, but mostly for EQUALP
13:46:44
Harag
if I run the tests over and over sbcl eventually gets its nickers in a not and performance goes out the window again. (event with restarts)...trying a reboot now to see if that helps
14:20:12
Harag
I tried a naive avl-tree instead of the hash-tables but it was horrible... at least the populating it was
14:36:13
Harag
pffft sbcl 2.0.5 went backward in gc ... running my test twice in a row now crashes sbcl... last night on sbcl 2.0.0 I ran the tests over and over for hours without one crash while I was trying to tweak the code
14:37:13
Harag
An mprotect call failed with ENOMEM. This probably means that the maximum amount of separate memory mappings was exceeded
14:41:11
Harag
To fix the problem, either increase the maximum with e.g. 'echo 262144 > /proc/sys/vm/max_map_count' or recompile SBCL with a larger value for GENCGC-CARD-BYTES in
14:49:10
Harag
cant find backend-parms.lisp ..grepped for GENCGC-CARD-BYTES and can only find notes about it nothing to set it
15:12:37
Harag
according to https://docs.actian.com/vector/5.0/index.html#page/User/Increase_max_map_count_Kernel_Parameter_(Linux).htm it should be 65536 if my math is right (/ 2097152 32)
16:24:53
jmercouris
there is some strange bug I can’t figure out that keeps causing our sever to crash, leading to downtime if i am not paying attention
16:25:15
jmercouris
wondering if I can just wrap everything in a condition handler and restart or something
16:33:05
phoe
jmercouris: run with --disable-debugger or an equivalent, use your BSD's init system to restart it on crash
16:36:35
phoe
it's not really a Lisp question at this point, it's a question about BSD services and their restart strategies
17:41:57
beach
Wow, that's the third person in a short time using closures instead of standard objects.
17:43:50
grayling_
Ah. Sorry. I load the project using quicklisp. But only after working on it and using slime is peek-db returning a value.
17:45:05
phoe
could you put up your code on GitHub so I can try loading the system and reproducing it?
17:45:38
Josh_2
don't worry about my previous question, I was making a mistake with my json encoding. Fixed it now
17:50:05
grayling_
If I just (asdf:load-system :aeai-pattern) I cannot use (peek-db). It returns nothing even after (get-db) being used.
18:01:05
phoe
https://github.com/hawkish/common-lisp/blob/c477637b16d91b255284289d4dad8a7cb5fc929e/pattern/src/mycin.lisp#L49
18:27:30
momozor
I checked the ASDF documentations, but I can't find anything that do something like that.
18:28:32
phoe
(defpackage #:my-package (:use :cl) (:local-nicknames (:p :cl-ppcre))) (in-package #:my-package)
18:29:43
momozor
https://lispcookbook.github.io/cl-cookbook/packages.html#give-a-package-a-local-nickname