IO improvements
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 18/100
- Tipo de issue
- Funcionalidade
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Stack de tecnologia
- java
- Domínio
- desktop, performance, tooling
Direção de pesquisa
This is a tracking issue, not a single change: split the four bullets into separate issues before coding. Start by locating how the project currently allocates buffers and opens files for sequential/random IO, then evaluate ByteBuffer.allocateDirect versus heap buffers and whether a user-facing option is needed. Windows FILE_FLAG_NO_BUFFERING likely needs JNI; cache-fill and warmup-sample discard are measurement-policy decisions with no named tests in the issue. Done means each sub-task has its own issue and a documented recommendation, not a combined patch here.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Investigate the following IO accuracy / ease of use improvements.
Create sub task to track each independantly:
- Java.nio has direct IO buffers to avoid an unnecessary copy in the jvm heap. we'd want to evaluate using them, and then provide an option to toggle this in the options and then decide on a default.
ByteBuffer.allocateDirect(int capacity) - investigate using the
FILE_FLAG_NO_BUFFERINGto avoid write caching. This is a windows native flag which might involve use of JNI and creating native components to allow use of the flag. - When not running in admin mode it should be possible to write an amount of data to the drive equal to the size of the systems memory to fill up (invalidate) the cache and then perform read operations on the files after the cache has been cleared.
- Also review whether we should perform dummy sample io and then immediately discard the information if it is not representative of the drive's actual IO. See below where the initial points for each thread are of significan't higher bw than the later section. Some forums have referred to this as warmup. Perhaps we can estimate or set how many samples are to be discarded from a warmup session before collecting the samples from the actual run.
- Linguagem predominante
- Java
- Estrelas
- 6
- Forks
- 6
- Merge médio
- 10h 11min
- PRs com merge (30d)
- 12
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de JDiskMark/jdm-java
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
enhancement linux
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia
-
documentation linux
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Publish JDiskMark on FlathubAbertaenhancement linux
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
-
bug linux
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
Mantenedores costumam responder em até 1 dia
Todas as issues de JDiskMark/jdm-java
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
bloxbean/yaci-store#1445 ·
Mantenedores costumam responder em até 1 dia
-
图片灯箱过长的话底部carousel滑动没有惯性Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
-
Spare PermissionAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
Etar-Group/Etar-Calendar#2234 ·
Mantenedores costumam responder em até 1 dia
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesTalvez já em andamento @CryoThrust assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
langchain4j/langchain4j#7320 ·
Mantenedores costumam responder em até 1 dia