Commit Graph

3030 Commits

Author SHA1 Message Date
Alex Dadgar
5ccfe17073 Merge pull request #830 from hashicorp/f-code-gen
Switch to using go/codec and use code generation
2016-02-20 19:13:43 -08:00
Alex Dadgar
d8150054dd Fix import path to be non-vendored in Makefile 2016-02-20 18:59:55 -08:00
Alex Dadgar
12afee343e Merge branch 'f-code-gen' of github.com:hashicorp/nomad into f-code-gen 2016-02-20 18:32:12 -08:00
Alex Dadgar
916fcfd940 Vendoring 2016-02-20 18:32:02 -08:00
Alex Dadgar
20f43161d2 external dep 2016-02-20 18:22:57 -08:00
Alex Dadgar
6b188d84eb Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
Armon Dadgar
ea849f6871 Merge pull request #829 from hashicorp/f-bench-encode
nomad: simple encode/decode benchmark
2016-02-20 17:47:49 -08:00
Armon Dadgar
ae7ddd3189 nomad: simple encode/decode benchmark 2016-02-20 17:43:17 -08:00
Armon Dadgar
8a5c7370ed Revert "Lzw compress raft entries"
This reverts commit a687ee6df3.

The LZW compression reduces the file size by ~60%, but increases
our encode and decode costs by 2x in a CPU bottlenecked path.
2016-02-20 17:36:39 -08:00
Alex Dadgar
71ba2837ec changelog 2016-02-20 16:21:42 -08:00
Alex Dadgar
d1aff26b4f Add force node gc 2016-02-20 16:11:29 -08:00
Alex Dadgar
9d8d8fe93e Merge pull request #828 from hashicorp/f-gc-endpoint
Job GC endpoint
2016-02-20 16:03:39 -08:00
Alex Dadgar
d9059c5497 Merge pull request #826 from hashicorp/f-compress-raft
LZW compress raft entries
2016-02-20 16:03:05 -08:00
Alex Dadgar
2ed5d34035 Merge pull request #823 from hashicorp/f-bitmap
Switch port collision checking to use bitmap instead of map
2016-02-20 16:02:48 -08:00
Armon Dadgar
0e854ef4f0 Merge pull request #827 from hashicorp/f-dynamic-pool
Set the size of the evaluation pool based on cores
2016-02-20 15:56:50 -08:00
Armon Dadgar
96c03c5ae1 nomad: guard against a negative pool size 2016-02-20 15:56:08 -08:00
Alex Dadgar
902c14beb4 Job GC endpoint 2016-02-20 15:50:41 -08:00
Armon Dadgar
7049553a1f nomad: use CPU count to determine pool size 2016-02-20 13:42:13 -08:00
Armon Dadgar
9dc72fee95 nomad: Adding Size to EvaluatePool 2016-02-20 13:42:13 -08:00
Armon Dadgar
8f32e65227 nomad: Allow resize of EvaluatePool 2016-02-20 13:42:13 -08:00
Armon Dadgar
d1f0b55263 Merge pull request #825 from hashicorp/f-apply
Introduce a EvaluatePool to parallelize the Plan Applier
2016-02-20 13:41:59 -08:00
Armon Dadgar
b7842db1a2 nomad: extra comment 2016-02-20 13:41:49 -08:00
Alex Dadgar
a687ee6df3 Lzw compress raft entries 2016-02-20 13:21:38 -08:00
Armon Dadgar
caa11f6aeb nomad: plan apply uses the EvaluatePool 2016-02-20 13:12:14 -08:00
Alex Dadgar
f4432b8853 Merge pull request #824 from hashicorp/b-reduce-client-ports
Make the client only reserve 512 ports.
2016-02-20 13:11:29 -08:00
Armon Dadgar
09bfb1760f nomad: adding a worker pool for plan apply 2016-02-20 13:07:09 -08:00
Armon Dadgar
f1c7e27394 nomad: cache bitmaps to avoid GC pressure 2016-02-20 12:18:22 -08:00
Armon Dadgar
a33d8bffa7 Merge pull request #822 from hashicorp/f-filteralloc
Use compound index on node allocations to include terminal status
2016-02-20 12:09:04 -08:00
Armon Dadgar
1e5b230e4a nomad: use bitmap for port collision checking 2016-02-20 12:08:27 -08:00
Armon Dadgar
96bd8e668a nomad: adding simple bitmap implementation 2016-02-20 11:56:48 -08:00
Alex Dadgar
c43c031a49 Make the client only reserve 512 ports. 2016-02-20 11:43:02 -08:00
Armon Dadgar
bc9423e61b scheduler: Use AllocsByNodeTerminal to avoid filtering 2016-02-20 11:29:15 -08:00
Armon Dadgar
23c0ea7f0b nomad: Use AllocsByNodeTerminal in plan apply 2016-02-20 11:26:38 -08:00
Armon Dadgar
82aa8979c2 nomad: adding compound index on alloc terminal status 2016-02-20 11:24:06 -08:00
Alex Dadgar
05bda07e7e undo async update 2016-02-19 22:34:52 -08:00
Alex Dadgar
6d927a7525 Make updating alloc status async 2016-02-19 21:44:23 -08:00
Alex Dadgar
a0aeb3e1d4 Reduce alloc lock contention in client 2016-02-19 19:51:55 -08:00
Alex Dadgar
312cdb51b7 import 2016-02-19 16:31:04 -08:00
Alex Dadgar
1f3291f537 Merge branch 'master' of github.com:hashicorp/nomad 2016-02-19 16:18:27 -08:00
Alex Dadgar
769425adf3 Changelog 2016-02-19 16:06:23 -08:00
Alex Dadgar
c9607299ab Merge pull request #821 from hashicorp/f-client-set-receive
Client stores when it receives a task
2016-02-19 16:05:18 -08:00
Alex Dadgar
6427d917ac Better comment 2016-02-19 16:02:48 -08:00
Alex Dadgar
2097d0132f Remove debug 2016-02-19 15:54:29 -08:00
Alex Dadgar
73733a8542 Fixes 2016-02-19 15:49:32 -08:00
Alex Dadgar
eb76d6d623 Client stores when it receives a task 2016-02-19 14:49:43 -08:00
Alex Dadgar
d13262589f Don't re-register as initializing 2016-02-18 23:02:28 -08:00
Alex Dadgar
f6cec37963 Increase Alloc channel buffers 2016-02-18 20:43:48 -08:00
Diptanu Choudhury
1d6a7682b4 Merge pull request #816 from hashicorp/b-java-linux
Enabling cgroups and chroot on linux
2016-02-18 16:18:49 -08:00
Diptanu Choudhury
10c3685a83 Fixed the fingerprinter test 2016-02-18 11:34:17 -08:00
Diptanu Choudhury
e92d0a65f8 Enabling cgroups and chroot on linux 2016-02-18 09:49:11 -08:00