Skip to content

Commit 5cea86a

Browse files
authored
Merge branch 'main' into dependabot/cargo/firecracker-f4b88f9489
2 parents 0416fcf + 56729e7 commit 5cea86a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/framework/microvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def _validate_api_response_times(self):
390390
"Got API call duration log entry before request entry"
391391
)
392392

393-
if current_call.url != "/snapshot/create":
393+
if current_call.url not in ["/snapshot/create", "/snapshot/load"]:
394394
exec_time = float(match.group("execution_time")) / 1000.0
395395

396396
assert (

tools/devtool

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,9 +743,9 @@ cmd_test() {
743743
# It seems that even if the tests using huge pages run sequentially on ag=1 agents, right-sizing the huge pages
744744
# pool to the total number of huge pages used across all tests results in spurious failures with pool depletion
745745
# anyway (something else on the host seems to be stealing our huge pages, and we cannot "ear mark" them for
746-
# Firecracker processes). Thus, just allocate 8GB of them and call it a day.
746+
# Firecracker processes). Thus, just allocate 48GB of them and call it a day.
747747
say "Setting up huge pages pool"
748-
num_hugetlbfs_pages=4096
748+
num_hugetlbfs_pages=24552
749749

750750
huge_pages_old=$(cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages)
751751
huge_pages_new=$(echo $num_hugetlbfs_pages |sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages)

0 commit comments

Comments
 (0)