Page 1 of 1

Direct Storage

Posted: Mon May 09, 2022 12:29 am
by ianmozzy
Hello
I have been trying to find out how primocache works with direct storage.
I searched and found a few posts from about a year ago which had little useful information.

My main computer is dual boot windows/linux.
Windows is only used for gaming. Presently windows 10 but may be upgrading to 11.

Primocache is presently used to cache game files locally.

Games are becoming much larger. When unreal engine 5 games are out, will probably be very big.

So storing the games on slower drives using a cache is the cost effective option for me.
The question is - does primocache work well using direct storage and L2 cache data?


I have an old machine as a server, specifically proxmox. On there is a truenas virtual machine.
The plan is to down the track store games on a very large sparse ISCSI drive and use primocache as block store cache software.
Of course it is only useful if it supports direct storage in the long term.

Is there any useful information on this?

Thanks

Re: Direct Storage

Posted: Mon May 09, 2022 6:10 am
by Support
ianmozzy wrote: Mon May 09, 2022 12:29 am The question is - does primocache work well using direct storage and L2 cache data?
I'm sorry but we haven't tested Direct Storage yet. In principle, PrimoCache should work with Direct Storage without the need of change.

Re: Direct Storage

Posted: Sun Aug 28, 2022 4:12 am
by xxbbfknightxx
it will not work.

PrimoCache PREVENTS direct storage due to error "BypassIO not supported due to drier: FancyCcV.sys"
FancyCcV.sys is primocache.

Re: Direct Storage

Posted: Sun Aug 28, 2022 11:00 pm
by Hodor
Support wrote: Mon May 09, 2022 6:10 am
ianmozzy wrote: Mon May 09, 2022 12:29 am The question is - does primocache work well using direct storage and L2 cache data?
I'm sorry but we haven't tested Direct Storage yet. In principle, PrimoCache should work with Direct Storage without the need of change.
Hello,

The DirectStorage API works fine with PrimoCache. But the new BypassIO feature built into Win11 is still unsupported by the driver.

If you type the below command into CMD/Powershell then you'll get the following output:
PS C:\> fsutil bypassIo state c:
BypassIo on "C:\" is not currently supported
Status: 494 (The specified driver does not support BypassIO operations)
Driver: FancyCcV.sys
Reason: The driver's StorageSupportedFeatures registry value is not defined
Storage Type: NVMe
Storage Driver: Not BypassIo Compatible
PS C:\>
It's possible to enable this manually in regedit by going to Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FancyCcV\Parameters and adding DWORD StorageSupportedFeatures and setting it to 1. This does solve the above error but I think it would be nice to have official support in PrimoCache. I've no idea if this 'fix' could cause issues.

Here's the MS page on this:
https://docs.microsoft.com/en-us/window ... operations

Re: Direct Storage

Posted: Mon Nov 14, 2022 9:18 pm
by shingo501
Do we have any update on this issue?

Re: Direct Storage

Posted: Tue Nov 15, 2022 7:22 am
by Support
We will fix it in the next release. Thanks.

Re: Direct Storage

Posted: Fri Nov 18, 2022 9:43 pm
by vlbastos
Support wrote: Tue Nov 15, 2022 7:22 am We will fix it in the next release. Thanks.
That's great news! If possible, could you tell if this DirectStorage support will support RAID-0 volumes made with Intel RST too? Recently, Intel released new RST drivers with DirectStorage support, and Microsoft added RAID-0 support in DirectStorage 1.1 (which is only available in Windows 11 22H2).

Re: Direct Storage

Posted: Wed Feb 01, 2023 9:25 am
by DonMigs85
Is there a timeline for the next release? Last one was over a year ago.

Re: Direct Storage

Posted: Wed Feb 01, 2023 12:34 pm
by Support
It's planned to come out in Q1 this year, thanks.

Re: Direct Storage

Posted: Tue Apr 18, 2023 3:31 pm
by Support
This issue has been fixed in version 4.3.0.
Thank you all.