Commit Graph

3486 Commits

Author SHA1 Message Date
Joe Bryan
238431c1fd refactors boothack argument parsing and boot event construction 2018-11-29 12:21:45 -05:00
Joe Bryan
6afdeda691 uses c3_calloc() instead of malloc/memset
and c3_realloc instead of realloc
2018-11-28 17:05:18 -05:00
Joe Bryan
1e17dc6fe6 removes the rest of i/o polling, %behn and %ames now work 2018-11-28 15:33:11 -05:00
Joe Bryan
7e829d4c50 updates ivory.c to lastest pill
reproducible, Arvo sans +keep, etc.
2018-11-28 15:33:11 -05:00
Joe Bryan
32c69acc1c Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate:
  Jet +jab:by, which is used extensively in ford.
  [CI] updates pinned arvo commit
  removes u3v_keep, updates arvo axes
  [build] builds just the urbit binary by default
  automatically process events on restart
  removes i/o polling
  removes %behn timer backoff
  [CI] updates pinned arvo commit
  increases %behn timer accuracy
  updates %behn to use effects instead of u3v_keep polling
  removes %ames timer and disables u3v_keep polling
  Shrink preallocation of cells from 262.144 cells to 4.096
2018-11-27 14:59:18 -05:00
Elliot Glaysher
56c3f080bd
Merge pull request #1076 from urbit/jet-jab
Jet +jab:by, which is used extensively in ford.
2018-11-26 16:55:54 -08:00
Joe Bryan
60e6dd2646
Merge pull request #1075 from urbit/keep-gone
removes u3v_keep, updates Arvo axes
2018-11-26 19:43:53 -05:00
Elliot Glaysher
98c581f95a Jet +jab:by, which is used extensively in ford. 2018-11-26 16:18:53 -08:00
Joe Bryan
819967dd62 [CI] updates pinned arvo commit 2018-11-26 17:59:41 -05:00
Joe Bryan
941f2f72bd removes u3v_keep, updates arvo axes 2018-11-26 17:57:01 -05:00
Joe Bryan
06ea97414c
Merge pull request #1074 from urbit/keep-no-more
removes i/o polling, adds timer effects for %behn
2018-11-26 17:27:42 -05:00
Joe Bryan
4b9ea4cabc [build] builds just the urbit binary by default 2018-11-26 16:40:43 -05:00
Joe Bryan
bc30fb282b automatically process events on restart 2018-11-26 16:34:49 -05:00
Joe Bryan
1774725e4c removes i/o polling 2018-11-26 16:29:38 -05:00
Elliot Glaysher
489a96707f
Merge pull request #1073 from urbit/change-allocation-size
Shrink preallocation of cells from 262.144 cells to 4.096
2018-11-26 11:25:55 -08:00
Joe Bryan
9121e108ab removes %behn timer backoff 2018-11-26 12:22:13 -05:00
Joe Bryan
0c33960a66 [CI] updates pinned arvo commit 2018-11-26 12:06:11 -05:00
Joe Bryan
c3555c25a9 increases %behn timer accuracy 2018-11-26 03:08:14 -05:00
Joe Bryan
a77f6401a7 updates %behn to use effects instead of u3v_keep polling 2018-11-26 03:08:14 -05:00
Joe Bryan
a9c8615674 removes %ames timer and disables u3v_keep polling 2018-11-26 03:08:14 -05:00
Joe Bryan
f8c1444ccc send initial %ames events earlier in boot sequence 2018-11-23 23:25:30 -05:00
Joe Bryan
b986433231 disable networking for fake ships on restart 2018-11-23 23:25:11 -05:00
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
bb63cd3006 eradicates u3_lo_open/shut 2018-11-21 16:47:32 -05:00
Joe Bryan
bce0c9236a restores u3A->sen for i/o drivers 2018-11-21 16:47:28 -05:00
Joe Bryan
59eb9f2aed updates http to get identity from pier 2018-11-21 16:47:19 -05:00
Joe Bryan
66b0ac9c7a updates ames to get identity/fake-bit from pier 2018-11-21 16:47:09 -05:00
Joe Bryan
ca4989784d updates single-homing and legacy boot event
conform to current release-candidate expectations
2018-11-21 16:47:01 -05:00
Joe Bryan
68912c40e4 updates ivory.c to 4K/141K (and includes %zuse) 2018-11-21 16:45:57 -05:00
Joe Bryan
3d9e75abb9 passes runtime config (u3C.wag_w) to serf, handles hashboard 2018-11-21 16:45:45 -05:00
Joe Bryan
93bcfabc23 implements -J for specifying a custom ivory pill 2018-11-21 16:45:39 -05:00
Joe Bryan
95c07063f2 updates i/o drivers to use pier, comments obsolete patterns. compiles 2018-11-21 16:45:33 -05:00
Joe Bryan
63b58f4c29 Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (742 commits)
  reap call sites before reaping the warm dashboard
  refines -F argument handling
  alphabetizes u3_opts and usage instructions
  replaces -N (enable fake networking) with -L (disable networking)
  removes the option to set -l, -n, and -r (raft options)
  removes -X ("skip last event")
  removes -M ("memory madness")
  Use Ed25519 u3a_malloc in the ed25519 jet.
  Fix README build instructions
  properly zero-initialize u3_wcon linked-list pointer
  removes second staging copy of compiler jets
  [CI] Point to latest release-candidate arvo
  De-duplicate dependency list
  Make small stylistic improvements to crypto jets
  meson v0.44.1
  Use fetchGit instead of fetchTarball to get nixpkgs.
  Revert change to libh2o for now -- Breaks the nix build, but unbreaks the normal build.
  Minor Cleanup
  Make list indentation consistent in Meson file.
  Use latest urbit/argon2
  ...
2018-11-21 16:45:07 -05:00
Joe Bryan
45239f471c Merge branch 'cc-release-remove-obsolete-noun' into cc-release-rc-merge
* cc-release-remove-obsolete-noun:
  disables (most) unused vortex.c functions
  disables old u3m_boot
2018-11-21 16:38:04 -05:00
Joe Bryan
3ef5605254 disables (most) unused vortex.c functions 2018-11-21 16:37:29 -05:00
Joe Bryan
371562c0fc disables old u3m_boot 2018-11-21 16:37:22 -05:00
Joe Bryan
66c497ad7c Merge branch 'cc-release-moar-boothack' into cc-release-rc-merge
* cc-release-moar-boothack:
  3. resumes without boot params
  2. restores pier on restart %play
  1. single-homes Arvo in worker process
2018-11-21 16:36:22 -05:00
Joe Bryan
00bf8a85fb 3. resumes without boot params 2018-11-21 16:34:20 -05:00
Joe Bryan
05200a2e36 2. restores pier on restart %play 2018-11-21 16:34:13 -05: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
21edd20050 1. single-homes Arvo in worker process 2018-11-19 23:47:03 -05:00
Joe Bryan
aa05514625 Merge branch 'cc-release-prepare-args' into cc-release-rc-merge
* cc-release-prepare-args:
  adds placeholder for -J (ivory pill, unimplemented)
  alphebetizes u3_opts and _main_getopt() defaults
  replaces -k with -K (kernel version)
  renames -L (local networking) from loh to net
  removes -t (ticket), -s, and -S (secret/prompt)
  removes unused args -I (galaxy) and -l (raft port)
  removes -n ("unix hostname", for raft)
  removes -X ("skip last event")
  removes -M ("memory madness")
2018-11-16 20:30:16 -05:00
Joe Bryan
2ef674b4b3 adds placeholder for -J (ivory pill, unimplemented) 2018-11-16 20:11:02 -05: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
92fca35aec alphebetizes u3_opts and _main_getopt() defaults 2018-11-16 19:28:29 -05:00