Commit Graph

3460 Commits

Author SHA1 Message Date
Elliot Glaysher
356f9fc9ac Shrink preallocation of cells from 262.144 cells to 4.096
Everytime a new road is constructed, a new bank of cells is
allocated and initialized. This lead to over three megabytes of
memory being allocated and accessed on each road change. This takes
more than 1ms to complete.

Road changes occur on each virtualization call. Each +soft happens
virtualized; so each +soft call incurs a 1ms delay. The metavase
machinery does at least two (and usually three) softs per card move
meaning sending a card move through arvo usually incurs a 3ms delay.

Before this patch, the following line took six seconds to execute.
Now it is imperceivable:

```
~:(turn (gulf 0 10.000) |=(a=@ud (mule |.(a))))
```
2018-11-23 13:05:39 -08:00
Joe Bryan
1463b33bc0
Merge pull request #1041 from urbit/remove-jets-z
removes second staging copy of compiler jets
2018-11-21 13:11:25 -05:00
Joe Bryan
0e52810593
Merge pull request #1068 from urbit/update-readme-build
Fix README build instructions
2018-11-21 13:10:09 -05:00
Joe Bryan
f89b02f8a1
Merge pull request #1070 from urbit/remove-obsolete-arguments
removes obsolete CLI arguments
2018-11-21 13:09:32 -05:00
Joe Bryan
0f0737e637
Merge pull request #1072 from frodwith/reap-order
reap call sites before reaping the warm dashboard
2018-11-21 13:09:06 -05:00
Paul Driver
9104ad2acb reap call sites before reaping the warm dashboard
if the warm dashboard is reaped before call sites, the activation
(and thus the label inside the activation) can be freed (during u3h_put)
while a call site in the junior still points to the label (but doesn't hold
a reference to it, since it is on a senior road). trying to take that label
during call site reap then results in a bail: foul.

the solution is to always reap call sites before reaping the warm dashboard.
2018-11-20 11:40:11 -08:00
Joe Bryan
42c61039a4 refines -F argument handling 2018-11-16 20:05:03 -05:00
Joe Bryan
80b1d34aa6 alphabetizes u3_opts and usage instructions 2018-11-16 20:04:58 -05:00
Joe Bryan
eaab7dda8f replaces -N (enable fake networking) with -L (disable networking) 2018-11-16 19:19:48 -05:00
Joe Bryan
3edcd47b7c removes the option to set -l, -n, and -r (raft options) 2018-11-16 17:52:58 -05:00
Joe Bryan
0148b101e7 removes -X ("skip last event") 2018-11-16 17:52:47 -05:00
Joe Bryan
f87120095a removes -M ("memory madness") 2018-11-16 17:52:25 -05:00
benjamin-tlon
c4877d6962
Merge pull request #1069 from urbit/bs/ed25519-malloc
Use `u3a_malloc` in the ed25519 jet.
2018-11-16 13:57:58 -08:00
Benjamin Summers
2cb3ad1a7a Use Ed25519 u3a_malloc in the ed25519 jet. 2018-11-16 11:56:58 -08:00
Joe Bryan
a30ad3056b
Merge pull request #1067 from urbit/proxy-wcon-zero-init
properly zero-initialize u3_wcon linked-list pointer
2018-11-16 12:20:55 -05:00
Curtis Yarvin
3eccfae00a Fix README build instructions 2018-11-15 19:39:32 -05:00
Joe Bryan
2ea9cb52fe properly zero-initialize u3_wcon linked-list pointer 2018-11-15 19:33:30 -05:00
Joe Bryan
4ec7ddb61b removes second staging copy of compiler jets 2018-11-15 19:29:39 -05:00
Fang
5191851946
Merge pull request #1065 from urbit/release-candidate-arvo
[CI] Point to latest release-candidate arvo
2018-11-14 16:56:04 -08:00
Fang
2ac4bd6aa8
[CI] Point to latest release-candidate arvo 2018-11-14 16:41:37 -08:00
Fang
bd78ea68d9
Merge pull request #1028 from urbit/crypto-additions
Crypto additions
2018-11-14 16:18:54 -08:00
Fang
6c7811a45c De-duplicate dependency list 2018-11-14 14:59:57 -08:00
Fang
9cce1848e7 Merge branch 'release-candidate' of https://github.com/urbit/urbit into crypto-additions 2018-11-14 14:38:36 -08:00
Fang
aa129666fc Make small stylistic improvements to crypto jets 2018-11-14 13:38:34 -08:00
benjamin-tlon
f9fef8c107
Merge pull request #1063 from urbit/bs/bail-fail-on-big-null-fragment
Fix bail_fail on `&33:~`
2018-11-14 10:35:52 -08:00
benjamin-tlon
4ea9e2def2
Merge pull request #1055 from urbit/bs/nix-build
Build with nix on OSX and Linux
2018-11-14 10:18:01 -08:00
Benjamin Summers
33da16ca06 meson v0.44.1 2018-11-14 09:52:21 -08:00
Joe Bryan
83a062ab57
Merge pull request #1061 from urbit/cleanup-and-test
configures/builds/runs unit tests
2018-11-14 12:52:18 -05:00
Benjamin Summers
c042ccc2ea Use fetchGit instead of fetchTarball to get nixpkgs. 2018-11-14 09:47:28 -08:00
Benjamin Summers
f2fa04d98a Revert change to libh2o for now -- Breaks the nix build, but unbreaks the normal build. 2018-11-14 09:46:08 -08:00
Benjamin Summers
5dc22aefd3 Merge branch 'release-candidate' of github.com:urbit/urbit into bs/nix-build 2018-11-14 09:45:13 -08:00
benjamin-tlon
e4b259138c
Minor Cleanup 2018-11-14 09:34:25 -08:00
Joe Bryan
7f68d81479
Merge pull request #1062 from urbit/proxy-resource-cleanup
fixes race in tcp proxy resource cleanup
2018-11-14 12:32:20 -05:00
benjamin-tlon
10a7060091
Make list indentation consistent in Meson file. 2018-11-14 09:30:26 -08:00
Fang
e1571b5f36 Use latest urbit/argon2 2018-11-13 16:39:51 -08:00
Benjamin Summers
5304a7f255 Fix bail_fail on &33:~ 2018-11-13 16:22:49 -08:00
Fang
8a25214167 Use custom memory allocation functions for Argon2 2018-11-13 11:11:48 -08:00
Joe Bryan
965c43c57a fixes race in _proxy_ward_close by unlinking early 2018-11-13 14:06:35 -05:00
Joe Bryan
c9e22d9305 [CI] run tests 2018-11-13 13:44:21 -05:00
Joe Bryan
19e588e503 removes old kjet implementation file 2018-11-13 13:43:51 -05:00
Joe Bryan
fc665dce04 configures/builds/activates (failing) memory tests 2018-11-13 13:43:51 -05:00
Joe Bryan
5c4ccdef41 configures/builds/activates hashtable tests 2018-11-13 13:43:51 -05:00
Joe Bryan
f5a1b3343f removes .d 2018-11-13 13:43:51 -05:00
Joe Bryan
b93fccf82b
Merge pull request #1056 from urbit/unbreak-ci-deploy
[CI] fix deploy phase, move coredump backtrace to a script
2018-11-13 13:15:10 -05:00
benjamin-tlon
1400bb3b89
Merge pull request #1058 from urbit/restore-domain-override
restores -H for overriding ames galaxy domain
2018-11-13 07:53:02 -08:00
benjamin-tlon
2fe640a128
Merge pull request #1060 from urbit/bs/sigprof-crashes
Cleanup SIGPROF timer+mask at the end of `u3m_soft` on Linux.
2018-11-13 07:52:45 -08:00
Benjamin Summers
fa576b00d7 Implemented u3t_boff for Linux. 2018-11-12 12:20:32 -08:00
Fang
cfda566bf2 Use latest urbit/Argon2 2018-11-09 15:54:33 -08:00
Ted Blackman
fab9cb7bf3
Merge pull request #1059 from frodwith/fixreap-rc
fix reference handling error in _n_reap()
2018-11-09 13:54:08 -08:00
Paul Driver
55f94d6818 fix reference handling error in _n_reap() 2018-11-09 11:53:14 -08:00