IO improvements
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 18/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- java
- Domaine
- desktop, performance, tooling
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Java
- Étoiles
- 6
- Forks
- 6
- Merge moyen
- 10 h 11 min
- PR mergées (30 j)
- 12
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de JDiskMark/jdm-java
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement linux
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
documentation linux
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Publish JDiskMark on FlathubOuverteenhancement linux
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
-
bug linux
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de JDiskMark/jdm-java
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
bloxbean/yaci-store#1445 ·
Les mainteneurs répondent en général sous 1 jour
-
图片灯箱过长的话底部carousel滑动没有惯性Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
-
Spare PermissionOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
Etar-Group/Etar-Calendar#2234 ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesPeut-être pris @CryoThrust l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
langchain4j/langchain4j#7320 ·
Les mainteneurs répondent en général sous 1 jour