IO improvements
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- java
- Área
- desktop, performance, tooling
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 6
- Forks
- 6
- Merge medio
- 10 h 11 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de JDiskMark/jdm-java
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
enhancement linux
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
documentation linux
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Publish JDiskMark on FlathubAbiertoenhancement linux
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
bug linux
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
Todos los issues de JDiskMark/jdm-java
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bloxbean/yaci-store#1445 ·
Los mantenedores suelen responder en 1 día
-
图片灯箱过长的话底部carousel滑动没有惯性Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Spare PermissionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Etar-Group/Etar-Calendar#2234 ·
Los mantenedores suelen responder en 1 día
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesPosiblemente ocupada @CryoThrust la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
langchain4j/langchain4j#7320 ·
Los mantenedores suelen responder en 1 día