73 Commits

Author SHA1 Message Date
Youngjoon Lee
4266ff445e
gradual write for queue_data_msg_counts 2024-08-23 14:47:54 +09:00
Youngjoon Lee
b36b8ac316
fix: use Vec for deterministic results 2024-08-22 23:03:46 +02:00
Youngjoon Lee
efee24d95f
save msg_id in the latency csv file (for responsiveness calculation later) 2024-08-22 22:35:13 +02:00
Youngjoon Lee
e256d3a744
optimize: build unified_recv_seq only for exp5~6 2024-08-22 22:28:42 +02:00
Youngjoon Lee
d0fe4abba9
fix: handle multiple senders for exp3~4 2024-08-22 21:15:49 +02:00
Youngjoon Lee
1857f9f05d
add unified recv_seq 2024-08-22 20:40:29 +02:00
Youngjoon Lee
6908979f30
fix: ignore msgs sent by mixes when building recv_seq 2024-08-22 20:28:43 +02:00
Youngjoon Lee
962b72dced
impl exp5~6: random network 2024-08-22 20:21:14 +02:00
Youngjoon Lee
27a8313450
impl exp1~4: multi path/mix 2024-08-22 19:14:23 +02:00
Youngjoon Lee
e9012eae83
refactor all, and prepare revised paramsets, but no multiple mix impl yet 2024-08-22 12:17:46 +02:00
Youngjoon Lee
a7f827efd0
save coeff 2024-08-22 08:20:27 +02:00
Youngjoon Lee
1bac94034d
weak 2024-08-21 11:38:30 +02:00
Youngjoon Lee
546d0a7f55
strong 2024-08-21 11:17:34 +02:00
Youngjoon Lee
58fccb085e
implement logic 2024-08-20 16:28:36 +02:00
Youngjoon Lee
518b26e90c
wip: single-path: paramset 2024-08-20 08:53:38 +02:00
Youngjoon Lee
12f851d94d
refactor: extract queue as a crate 2024-08-20 08:52:54 +02:00
Youngjoon Lee
240f76881d
add NoisyCoinFlippingRandomRelease 2024-08-19 05:56:39 +09:00
Youngjoon Lee
8074e6aa09
refactor: queue encapsulation 2024-08-19 05:54:20 +09:00
Youngjoon Lee
8e06695aa4
add session 3 2024-08-18 23:00:42 +09:00
Youngjoon Lee
0d9cabc329
add experiment5 2024-08-18 10:25:07 +09:00
Youngjoon Lee
21411d07d5
refactor: paramset construction 2024-08-18 10:02:40 +09:00
Youngjoon Lee
456fbd3f25
add --from-paramset 2024-08-17 23:45:17 +09:00
Youngjoon Lee
1e643ab38f
use rayon instead of tokio 2024-08-17 23:41:37 +09:00
Youngjoon Lee
5248c02f2e
use rustc-hash 2024-08-17 21:59:50 +09:00
Youngjoon Lee
740e6126b3
flush csv writer frequently to minimize mem usage 2024-08-17 21:48:40 +09:00
Youngjoon Lee
39491f30b7
opt-level max 2024-08-17 21:38:53 +09:00
Youngjoon Lee
a7ed744783
have msg_interval separate with transmission_interval 2024-08-17 21:35:03 +09:00
Youngjoon Lee
df72a01837
minimize mem usages 2024-08-17 09:37:17 +09:00
Youngjoon Lee
c60bde5a35
enhance logs 2024-08-17 09:00:40 +09:00
Youngjoon Lee
70d85a591f
do not use HashMap to make the result 100% deterministic 2024-08-17 08:39:03 +09:00
Youngjoon Lee
cd35121d5e
add queues 2024-08-17 03:41:46 +09:00
Youngjoon Lee
c7ac0340a3
use tokio for multithreading 2024-08-17 01:44:10 +09:00
Youngjoon Lee
c7b83c813d
paramset, args, csv 2024-08-17 00:24:26 +09:00
Youngjoon Lee
bd00f9dd3a
wip: working version 2024-08-16 20:56:16 +09:00
Youngjoon Lee
dbf1b78134
optimize: use generic for messages to reduce the size of msg cache in gossip and discard serde cost 2024-08-15 02:49:45 +09:00
Youngjoon Lee
3a2f3cc079
optimization: remove cache entry if the message has been received from all adjacent peers in the end 2024-08-14 16:52:18 +09:00
Youngjoon Lee
5aeecf45d9
fix optimization: put right messages to cache in nomssip 2024-08-14 16:40:52 +09:00
Youngjoon Lee
618705e252
use only transmission_rate=1 in session2.1 and ignore min_queue_size for some queue types when building paramsets 2024-08-14 11:55:17 +09:00
Youngjoon Lee
4bd1f5f159
fix: queuesim_stats: filter out topology csv files 2024-08-14 11:29:04 +09:00
Youngjoon Lee
bedf9b2ef3
store topology to csv file 2024-08-13 01:26:57 +09:00
Youngjoon Lee
befb52d014
optimize: exclude the node who sent the message when gossiping the message 2024-08-13 01:14:27 +09:00
Youngjoon Lee
c60039963f
optimize: mark messages as RECEIVED immediately in the publisher node when the messages are published 2024-08-13 01:02:16 +09:00
Youngjoon Lee
aebc0459b5
add more columns to iteration result csv files 2024-08-13 00:40:31 +09:00
Youngjoon Lee
8bfbabed15
use __WIP__ filename prefix for WIP paramsets and iterations 2024-08-13 00:35:54 +09:00
Youngjoon Lee
495b633837
refactor: rename _mix_pool_size -> _min_pool_size 2024-08-12 11:07:24 +09:00
Youngjoon Lee
cefe352402
add buffering for csv.writer 2024-08-12 11:01:59 +09:00
Youngjoon Lee
d5d94ca3e5
add session 2.1 2024-08-08 15:14:30 +09:00
Youngjoon Lee
ff5baa4bfe
add --num-workers arg 2024-08-08 15:04:54 +09:00
Youngjoon Lee
156bff6ddc
measure iteration duration 2024-08-08 14:41:58 +09:00
Youngjoon Lee
dc79540e15
add benchmark for finding the optimal number of workers 2024-08-08 14:05:16 +09:00