HelloZeroNet / HelloZeroNet/ZeroNet

What is the typical read operation size on zeronet?

Open
#2,740 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

### Step 1: Please describe your environment

* ZeroNet version: latest
* Operating system: Linux
*
### Step 2: Question

Hello, i am going to setup filesystem and want to know which record size i should set to be optimal for Zeronet typical read operation size. I mean there are bigfiles and small files, so how many kilobytes is requested at once to be read from the drive to be later sent to other downloading peer? https://github.com/HelloZeroNet/ZeroNet/search?q=read+size&type=code

I see that the "iostat sudo iostat -zxh 3 /dev/sdb" shows rareq-sz (read average request size) 100k, but this may be wrong parameter to check and the drive contains not only zeronet things. Moreover the drive from which is sequentially read only large files 100MB/s shows rareq-sz 130k which seems to me weird unless this NTFS drive is highly fragmented or i am likely understand this wrong.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked repository search for "read size", then trace the read paths used for large and small files. Confirm request sizes under a ZeroNet-only workload and explain how they relate to iostat's rareq-sz; done means providing a documented, evidence-based answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems, performance
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.