.Net 6 SSD Performance

%3CLINGO-SUB%20id%3D%22lingo-sub-2946690%22%20slang%3D%22en-US%22%3E.Net%206%20SSD%20Performance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2946690%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20enumerating%20a%20HDD%20(spindle)%20it%20takes%20X%20time%2C%20any%20re-enumerations%20are%20instant%20as%20they're%20cached.%3C%2FP%3E%3CP%3EWhen%20enumerating%20an%20SSD%20it%20takes%20X%20time%2C%20any%20re-enumerations%20take%20Y%20time%2C%20where%20Y%20is%20roughly%20X%2F2%2C%20not%20instant%20as%20expected.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPossible%20areas%20where%20the%20issue%20resides.%3C%2FP%3E%3CP%3E1.%26nbsp%3BThis%20might%20be%20a%20Windows%2010%2F11%20not%20caching%20SSD%20drives.%3C%2FP%3E%3CP%3E2.%20.Net%206%20has%20a%20new%20IO%20system%20with%20performance%20improvements%2C%20although%20I%20see%20the%20same%20behaviour%20in%20.Net%205%20and%20.Net%20Core%203%3C%2FP%3E%3CP%3E3.%20Something%20in%20my%20computers%20configuration%2C%20however%2C%20during%20a%20re-enumeration%2C%20the%20CPU%20and%20SSD%20are%20pretty%20much%20idle%2C%20but%20the%20enumeration%20still%20takes%20up%20to%2015%20seconds.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20thoughts%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20affects%20all%20enumeration%20methods.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2946690%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E.NET%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Visitor

When enumerating a HDD (spindle) it takes X time, any re-enumerations are instant as they're cached.

When enumerating an SSD it takes X time, any re-enumerations take Y time, where Y is roughly X/2, not instant as expected.

 

Possible areas where the issue resides.

1. This might be a Windows 10/11 not caching SSD drives.

2. .Net 6 has a new IO system with performance improvements, although I see the same behaviour in .Net 5 and .Net Core 3

3. Something in my computers configuration, however, during a re-enumeration, the CPU and SSD are pretty much idle, but the enumeration still takes up to 15 seconds.

 

Any thoughts ? 

This affects all enumeration methods.

0 Replies