hi thank you, it's just a quick hack :)

the current big bug is that mem is not copied, rather shared, on fork(), which means some is likely getting a little corrupt.  [this may or may not change.]

On Tue, Jan 4, 2022, 11:24 AM coderman <coderman@protonmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


*grin*

i remember running full gnuradio toolchain builds on an ARM gumstick.
gotta pull out all the stops!

yeah.

did you just use lots of swap?

> somebody with more systems experience than me could probably speed it
> up and stabilise it without much work....


i'll take a look later this week when i have some time. i'm curious
to add compression to the file backed memory, as flash i/o is horribly
slow, and compression may result in a net gain despite adding CPU load.
(new embedded devices have more cores anyway, so this might not be bad)

mimalloc intercepts malloc() and free()
the vmem branch opens a file and calls mmap() when a page is needed

if you like this project, after seeing how simple my changes are you might reimplement them better.

fun stuff, keep it up Karl!


best regards, enjoy some nature too :)

:)

hope you are well !


-----BEGIN PGP SIGNATURE-----

iNUEAREKAH0WIQRBwSuMMH1+IZiqV4FlqEfnwrk4DAUCYdR0el8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0NDFD
MTJCOEMzMDdEN0UyMTk4QUE1NzgxNjVBODQ3RTdDMkI5MzgwQwAKCRBlqEfnwrk4
DJRkAP48YCOKzaCV5ceEXlwwzLH8cDLjUMgF8fnhUKNKEBeopQEAorJOqWZS7dri
Wlo8H5mkPQQf8E3uSDX1sQuRt1kDXQk=
=OAiS
-----END PGP SIGNATURE-----