Commit Graph

1154 Commits

Author SHA1 Message Date
Zheng, Qi
a16ba58b31 Set default RLIMIT_NOFILE to 1024
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:50:48 +08:00
Zheng, Qi
4354148ecf Add linux ltp demo
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:16:52 +08:00
zongmin.gu
59986df1a5 Bump version to 0.24.2 2021-10-22 17:16:52 +08:00
zongmin.gu
b4d89f6c77 Update CentOS base image 2021-10-22 17:16:52 +08:00
Shuocheng Wang
25006ee673 Add clang dependency to docker file 2021-10-22 17:16:52 +08:00
Zheng, Qi
a825499d47 Update busybox to support new glibc (>2.31)
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:16:52 +08:00
Zheng, Qi
e2d2cb375c Increase the pytorch demo TCS number to 64
Also increase ready check delay time to 360s

Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 16:42:48 +08:00
LI Qing
8621e09dbb Rewrite the directory entry reference management of unionfs to drop closed INodes 2021-10-20 15:35:28 +08:00
LI Qing
de36ea6b0f Fix the memory leak of dirs in unionfs 2021-10-19 15:40:32 +08:00
Hui, Chunyang
1745825e81 Add support for mprotect PROT_GROWSDOWN 2021-10-18 19:49:28 +08:00
Zheng, Qi
0eb3353b7c Return current break if brk failed
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-18 14:10:19 +08:00
Hui, Chunyang
8dc773cc62 Move stress test to hardware test CI 2021-10-18 13:46:02 +08:00
LI Qing
030b1c7fdf Fix the memory leak in procfs 2021-10-18 13:43:02 +08:00
Hui, Chunyang
16966c0b28 Fix sysinfo and env test case failure in stress test 2021-10-18 13:04:39 +08:00
Zheng, Qi
b79adca20d Update dockerfile to build busybox into toolchain
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-17 16:48:48 +08:00
Zheng, Qi
2d351c9d31 Add occlum busybox prebuild script into toolchain
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-17 16:48:48 +08:00
Hui, Chunyang
bdb7825607 Add support for mremap 2021-10-17 15:58:29 +08:00
Hui, Chunyang
6dd73c64b5 Improve userspace VM management
Occlum is a single-address-space library OS. Previously, userspace memory are divided for each process.
And all the memory are allocated when the process is created, which leads to a lot of wasted space and
complicated configuration.

In the current implementation, the whole userspace is managed as a memory pool that consists of chunks. There
are two kinds of chunks:
(1) Single VMA chunk: a chunk with only one VMA. Should be owned by exactly one process.
(2) Multi VMA chunk: a chunk with default chunk size and there could be a lot of VMAs in this chunk. Can be used
by different processes.

This design can help to achieve mainly two goals:
(1) Simplify the configuration: Users don't need to configure the process.default_mmap_size anymore. And multiple processes
running in the same Occlum instance can use dramatically different sizes of memory.
(2) Gain better performance: Two-level management(chunks & VMAs) reduces the time for finding, inserting, deleting, and iterating.
2021-10-17 15:58:29 +08:00
Hui, Chunyang
9d63d396db Add stress test to daily scheduled CI 2021-10-15 11:52:53 +08:00
Hui, Chunyang
d60bdd3771 Add stress test capabilites for make test 2021-10-15 11:52:53 +08:00
Hui, Chunyang
2af05238be Fix SGX SDK version for package related tests 2021-10-09 15:49:28 +08:00
Zheng, Qi
8d85249116 Update bash test in github action
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-08 12:34:38 +08:00
Zheng, Qi
597f8c9080 Update bash demo with bom tool and add musl version
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-08 12:34:38 +08:00
Zheng, Qi
e1cebcd488 Add codecov ignore path
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-08 10:03:40 +08:00
Zheng, Qi
26b6299f3d Add more test cases to increase code coverage rate
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-08 10:03:40 +08:00
Zheng, Qi
d1e9ed12f1 Add code coverage action test
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-08 10:03:40 +08:00
zongmin.gu
c6d474bb7b Bump version to 0.24.1 2021-10-01 08:29:25 +08:00
zongmin.gu
17d79b56a2 Fix aliyunlinux test 2021-10-01 08:29:25 +08:00
zongmin.gu
c49e3d8027 Use Intel IPP in SGX SDK 2021-10-01 08:29:25 +08:00
zongmin.gu
7286c0c02c Update with SGX SDK 2.14 2021-10-01 08:29:25 +08:00
Zheng, Qi
935760f893 Fix bom tool autodep issue for openvino
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-29 10:58:33 +08:00
jianfengjiang
16384b8b0e Update python-musl demo with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
436e427fbf Update tensorflow demos with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
3f78b09df7 Update pytorch demo with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
7290cfa561 Update cluster serving demo with copy_bom 2021-09-26 21:06:59 +08:00
jianfengjiang
cdb4ac560f Update sofaboot demos with copy_bom 2021-09-26 21:06:59 +08:00
Hui, Chunyang
a0453f1262 Add capabilities of building grpc CI image from different branches 2021-09-26 21:06:02 +08:00
Hui, Chunyang
7dcf727782 Fix file path for grpc demo 2021-09-26 21:06:02 +08:00
Zheng, Qi
63deda28b9 Update dcap demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 17:28:13 +08:00
zongmin.gu
4a91c11f9f Update enclave_tls demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
59988f9491 Update ping/pong demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
f0156cb08a Update go web_server demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
b86cbfac48 Update go_sqlite demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
0e00782c21 Update embedded_mode demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
8a6b44a68c Update grpc demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
c5c91baf84 Update bazel demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
c6dc8c807c Update xgboost demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
8b2c99cafd Update tflite demo with bom file 2021-09-26 16:34:52 +08:00
zongmin.gu
3684560683 Update Vault demo with bom file 2021-09-26 16:34:52 +08:00
Zheng, Qi
59a896b499 Update local_attestation demo with copy_bom tool
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-26 15:36:09 +08:00