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
21:08:13
drmeister
Does anyone know how the precedence works when you have additional dists in quicklisp?
21:09:59
drmeister
I'm asking because some of us think that they are getting a different precedence than others.
21:10:27
drmeister
It was a big deal a couple of days ago when quickclasp was serving clasp specific systems for bordeaux-threads, trivial-garbage and trivial-backtrace.
21:13:58
drmeister
Why would mine be different and quickclasp has a higher value (3800557960) while quicklisp has a lower one (3800557960).
22:38:27
Josh_2
Lisp images so tough despite my error-error being 3 levels deep It's still serving my site just fine
22:56:10
Josh_2
https://plaster.tymoon.eu/view/1912#1912 can someone help me with this error? It's clearly to do with my macro, I'm guessing if I put the (defparameter .. ) into (eval-when ..) It would fix the error
22:56:39
Josh_2
but why am I getting this error? I had two others about how two of the functions used in my macro were not available at compile-time
22:59:05
drmeister
Xach: Thanks - then we are installing quicklisp and adding quickclasp too quickly after that.
23:07:05
Josh_2
I think I understand, the macroexpansion is attempting to call a function that doesn't exist when it needs it
23:19:24
matzy_
could anyone help me understand why my super, super simple webserver project refuses to be compiled by asdf? I've been searching for hours and hours and can't figure out what i i did wrong