Page 14 of 25

Re: Slow transfer speed due to SSD cache acceleration

Posted: Mon Apr 16, 2018 5:21 am
by BryceWilkins
Trexx wrote:See the link for QTS Presentations in my signature. Has links to upcoming video/slides as well as previous presentations.
Excellent Trexx! That is perfect to have the slides to watch alongside the presentation and also as a reference for later -- tons of good information there!
dolbyman wrote:do QTIER instead
Thanks for your comment dolbyman! I will try it in the future, I think. QTier sounds great, and I read many good scenarios about it. I would to have a NAS as "test NAS" to experiment with these features but I don't have one for that that so I am a bit more cautious about the complexity of my setup. My concerns might be unwarranted, but for now I try to make the performance outcome more predictable. (If I put stuff on SSDs, it should be fast no matter what because that's all it can be...versus not being able to tell how well QTier is performing.)

I created everything with Storage Pools to give me flexibility to add 2.5" SSDs or NVMe drives into the drive pools in the future. I hope it will allow me to migrate to QTier that way if I choose to.
vikino wrote:How to say that in short...with last firmware cache seems to be slightly better...In RAID 10 config im getting 800MB/s read and 450MB/s if cache is flushed and clean and 230MB/s write if cache is full...
Thanks vikino for update! This is great news! It's seems really significantly better than before...and now it is not dropping to way below the HDD write speed which was the case before. I'm happy to hear -- it gives me some hope to trying it in the future.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Mon Apr 16, 2018 10:16 pm
by storageman
RAID 10 is not the right choice if you want the best sequential performance.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Mon Apr 16, 2018 10:41 pm
by vikino
storageman wrote:RAID 10 is not the right choice if you want the best sequential performance.
Which one then? It is adviced by QNAP...

Re: Slow transfer speed due to SSD cache acceleration

Posted: Mon Apr 16, 2018 10:54 pm
by storageman
Don't care what Qnap advise. Where have they advise it anyway and for what?
RAID 5 or 6.
RAID 10 is for random performance/higher IOPs

Re: Slow transfer speed due to SSD cache acceleration

Posted: Mon Apr 16, 2018 11:04 pm
by vikino
Overall is RAID10 better, for random as well as sequential with redundancy, this is meaning od RAID10, i did some tests on RAID5 cache and it did not performed better than RAID10...

Re: Slow transfer speed due to SSD cache acceleration

Posted: Tue Apr 17, 2018 12:13 am
by storageman
I shouldn't have got involved!
Are you talking about for SSD cache or for the data volume?

Re: Slow transfer speed due to SSD cache acceleration

Posted: Tue Apr 17, 2018 5:03 am
by vikino
We are talking about SSD cache of 4 2.5" ssds for HDD datastore...
Btw., qnap does not support raid 5 for cache, only 0,1 and 10...
Ive tryied RAID5 cache on Adaptec controller and RAID10 performed better in random as well as sequence...

Re: Slow transfer speed due to SSD cache acceleration

Posted: Tue Apr 17, 2018 4:11 pm
by storageman
vikino wrote:We are talking about SSD cache of 4 2.5" ssds for HDD datastore...
Btw., qnap does not support raid 5 for cache, only 0,1 and 10...
Ive tryied RAID5 cache on Adaptec controller and RAID10 performed better in random as well as sequence...
Yes,my mistake, I thought you were talking about volume RAID not the cache RAID.

But for HDDs my comment still holds.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Tue Apr 17, 2018 8:23 pm
by Trexx
vikino wrote:We are talking about SSD cache of 4 2.5" ssds for HDD datastore...
Qnap does not support raid 5 for cache, only 0,1 and 10...
I am not sure if that is a true statement to be honest or not. It could be that QNAP doesn't support RAID-5 for SSD Cache when the drives are spread across multiple "devices" i.e. QNAP + QM2 card due to risk if card is failed, then RAID-5 redundancy is gone.

They MAY support it if you had say 4x2.5" SSD drives internally, or one of the new QM2 cards that support 4x m.2 slots.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Thu Apr 19, 2018 5:17 am
by vikino
Trexx wrote:
vikino wrote:We are talking about SSD cache of 4 2.5" ssds for HDD datastore...
Qnap does not support raid 5 for cache, only 0,1 and 10...
I am not sure if that is a true statement to be honest or not. It could be that QNAP doesn't support RAID-5 for SSD Cache when the drives are spread across multiple "devices" i.e. QNAP + QM2 card due to risk if card is failed, then RAID-5 redundancy is gone.

They MAY support it if you had say 4x2.5" SSD drives internally, or one of the new QM2 cards that support 4x m.2 slots.

We are talking about 4x 2,5" SATA SSD drives, they dont support R5 for SSD cache at all, no matter which configuration. And there is no QM2 card with 4 slots :-)

Re: Slow transfer speed due to SSD cache acceleration

Posted: Fri Nov 23, 2018 4:53 pm
by noodles_gb
Found this thread via Google. I'm copying a load of movies to an external USB3 drive and I was getting ~15MB/s transfer rate. As soon as I turned off read/write cache this jumped up to over 150MB/s + (most likely the max rate the external disk can support writing).

My NAS is a TVS 671 with a quad core i7 in it and 16GB of RAM. Slot 1 and 2 are the SSDs, Crucial 500GB ones I believe, and the other 4 slots are WD Red 4TB's.

I've always had random disk latency issues (such as when nzbget is doing a par check, unrar'ing and moving data internally), never found the problem, looks like I have now. Since the NAS is mainly used as a Plex server, I think I'll remove the SSDs and do without caching.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Fri Nov 23, 2018 7:03 pm
by storageman
noodles_gb wrote: Fri Nov 23, 2018 4:53 pm Found this thread via Google. I'm copying a load of movies to an external USB3 drive and I was getting ~15MB/s transfer rate. As soon as I turned off read/write cache this jumped up to over 150MB/s + (most likely the max rate the external disk can support writing).

My NAS is a TVS 671 with a quad core i7 in it and 16GB of RAM. Slot 1 and 2 are the SSDs, Crucial 500GB ones I believe, and the other 4 slots are WD Red 4TB's.

I've always had random disk latency issues (such as when nzbget is doing a par check, unrar'ing and moving data internally), never found the problem, looks like I have now. Since the NAS is mainly used as a Plex server, I think I'll remove the SSDs and do without caching.
Interesting.
If you leave on cache as read only what happens? Same speed, worse, better?
Did you set the write cache to ignore big blocks?

Re: Slow transfer speed due to SSD cache acceleration

Posted: Fri Nov 23, 2018 7:50 pm
by noodles_gb
storageman wrote: Fri Nov 23, 2018 7:03 pm
noodles_gb wrote: Fri Nov 23, 2018 4:53 pm Found this thread via Google. I'm copying a load of movies to an external USB3 drive and I was getting ~15MB/s transfer rate. As soon as I turned off read/write cache this jumped up to over 150MB/s + (most likely the max rate the external disk can support writing).

My NAS is a TVS 671 with a quad core i7 in it and 16GB of RAM. Slot 1 and 2 are the SSDs, Crucial 500GB ones I believe, and the other 4 slots are WD Red 4TB's.

I've always had random disk latency issues (such as when nzbget is doing a par check, unrar'ing and moving data internally), never found the problem, looks like I have now. Since the NAS is mainly used as a Plex server, I think I'll remove the SSDs and do without caching.
Interesting.
If you leave on cache as read only what happens? Same speed, worse, better?
Did you set the write cache to ignore big blocks?
I haven't tried read only, I will do that after work.

I never set up anything for block size, I don't ever remember seeing the setting. The NAS was built some years ago, so I don't have the storage snapshot options and what not. The intent was to rebuild it hence copying the data off before a system backup, rebuild and restore.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Sat Nov 24, 2018 1:31 am
by noodles_gb
storageman - I can't choose block size for sequential read/write, only for random IO which I don't use.

Re: Slow transfer speed due to SSD cache acceleration

Posted: Mon Nov 26, 2018 7:59 pm
by storageman
So try the seq acceleration option:

4. Choose the SSD Cache Mode:
o Accelerate random I/O: Only small random I/O will be stored in SSD cache. This mode is recommended for virtualization and database applications. Also, select the bypass block size under this mode (block sizes that are larger than the specified one will not be cached).
o Accelerate sequential I/O: All I/O will be stored in SSD cache. This mode is recommended for video streaming or large file access operations.