https://rancher.com/ logo
Title
b

bright-wall-24452

05/16/2023, 5:41 AM
Hi all!Did someone use gogoprotobuf to replace protobuf in longhorn-engine and longhorn-manager?
f

faint-sunset-36608

05/22/2023, 9:14 PM
Hello @bright-wall-24452, I'm a little confused by your question. Could you provide additional context? As of today, both longhorn-manager and longhorn-engine import github.com/golang/protobuf, not github.com/gogo/protobuf. • https://github.com/longhorn/longhorn-manager/blob/565d335fcbb80b2e6522dc35a0d63cc389e27e88/go.mod#LL36C35-L36C35https://github.com/longhorn/longhorn-engine/blob/4f6770982ebdf496f2fbbeecb75ceb9a37235ddd/go.mod#LL8C1-L8C35 Are you asking because you are hoping these imports will be replaced or have a specific use case that is not being supported?
b

bright-wall-24452

05/24/2023, 2:26 AM
I was trying to exchange protobuf to gogoprotobuf, because I want to use gofast tool. I used fio tool to test disk I/O. I found it only have 1/7 of the host disk. I sent only one I/O test per request. My executed command as follows: fio --filename=/root/test-fio-w/test-big --direct=1 --rw=write --numjobs=1 --iodepth=128 \ --ioengine=libaio --bs=4k --group_reporting --name=oliver --log_avg_msec=500 \ --write_bw_log=test-fio-rw --write_lat_log=test-fio-rw --write_iops_log=test-fio-rw --size=100G --runtime=180