Closed tkdlqm2 closed 3 years ago
Input console
python ps_script.py
output console
Emulation start...
Start dedup mode 1000Sec simulation ...
Successfully dedup mode 1000Sec simulation ...
Start non-dedup mode 1000Sec simulation ...
Successfully non-dedup mode 1000Sec simulation ...
Start dedup mode 2000Sec simulation ...
Successfully dedup mode 1000Sec simulation ...
Start non-dedup mode 2000Sec simulation ...
Successfully non-dedup mode 1000Sec simulation ...
The memory deduplication rate is ---> 71.54 Percentage
적량적 목표치는 80% 이상인데, 결과는 그렇지 않아서 실험 셋팅을 바꾸면서 진행할 예정.
시뮬레이션 시간 셋팅은 1000S/2000S 그대로 셋팅하였고, 변경한 부분은 SimpleTransaction class의 dummy_text크기를 늘려줌
// Before
// char dummy_text[200];
// After
char dummy_text[400];
Blockchain metric에서 공인인증 기준은 다음과 같이 Latency같은 경우 Max, Min, average 값 TPS같은 경우 Max, Min, Average, Tx cnt를 print해주는 것으로 할 예정임. (print 되는 값의 기준은 없음)
How to reproduce
[Linux system setting for memory deduplication]
<username> soft nofile 10485760
<username> hard nofile 10485760
change "#DefaultLimitNOFILE=" to "DefaultLimitNOFILE=10485760"
change "#DefaultLimitNOFILE=" to "DefaultLimitNOFILE=10485760"
fs.file-max = 10485760
fs.nr_open = 10485760
vm.max_map_count = 1073741824
[simluatte - memory deduplication]
python setup.py --bitcoin; python setup.py --test
cd cert/memory
python ps_script.py
[TPS]
python setup.py --bitcoin; python setup.py --test
cd cert/perf/TPS
python cert_tps.py
[Latency]
python setup.py --bitcoin; python setup.py --test
cd cert/perf/Latency
python cert_latency.py
테스트 서버 IP 및 계정은 문의하시면 알려드리겠습니다.
[Input]
git checkout issue/345/publictest
python setup.py --bitcoin
python setup.py --test
cd cert/p2p
python cert_p2p.py
[output]
Start p2p 10nodes emulation ...
Successfully 10nodes emulation ...
Gossip simulation result : Success
NodeDiscovery simulation result : Success
-------------------------------------------------------------------------------------
Start p2p 1000nodes emulation ...
Successfully 1000nodes emulation ...
Gossip simulation result : Success
NodeDiscovery simulation result : Success
테스트 서버 IP 및 계정은 문의하시면 알려드리겠습니다.
How to reproduce
[Linux system setting for memory deduplication]
edit /etc/security/limits.conf, add two lines:
<username> soft nofile 10485760
<username> hard nofile 10485760
edit /etc/systemd/user.conf
change "#DefaultLimitNOFILE=" to "DefaultLimitNOFILE=10485760"
edit /etc/systemd/system.conf
change "#DefaultLimitNOFILE=" to "DefaultLimitNOFILE=10485760"
edit /etc/sysctl.conf, add three lines:
fs.file-max = 10485760
fs.nr_open = 10485760
vm.max_map_count = 1073741824
reboot
build & compile
git checkout issue/345/publictest
cd blockchain-sim
python setup.py --bitcoin
python setup.py --test
[Memory dedupliaction]
python setup.py --bitcoin; python setup.py --test
cd cert/memory
python ps_script.py
[TPS]
python setup.py --bitcoin; python setup.py --test
cd cert/perf/TPS
python cert_tps.py
[Latency]
python setup.py --bitcoin; python setup.py --test
cd cert/perf/Latency
python cert_latency.py
[Gossip / Nodediscovery]
cd cert/p2p
python cert_p2p.py
1차 공인 인증 goal
linux ps
툴을 사용하여 실제 물리메모리 사용량 비교.