mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware

Reply
 
Thread Tools
Old 2020-09-06, 19:50   #1
bhelmes
 
bhelmes's Avatar
 
Mar 2016

52·11 Posts
Default integrating M.2 card in raid0 system

I have 6 ssd disks, combined to a raid 0 system.
Can I add a M.2 card in addition ?


I have a linux mint system and I thought of increasing speed and huge.



Greetings

Bernhard
bhelmes is online now   Reply With Quote
Old 2020-09-06, 20:43   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

23·7·163 Posts
Default

Pushkin would recommend against it:
Quote:
Originally Posted by A.S.Pushkin
Anschirren Sie kein Pferd und kein zitterndes Reh auf demselben Karren
Batalov is offline   Reply With Quote
Old 2020-09-07, 06:37   #3
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

104618 Posts
Default

Let's see if I understand this right:

You have 6 non-M.2 SSDs. So, they're on SATA? A communications bus slow enough that any one of your SSDs is likely as fast as the bus?

So, when you stripe data across 6 SSDs on SATA, you gain almost-no speed in exchange for the loss of your entire data set if any one of the drives fails? Perhaps writes are faster, since SSD write is maybe slower than read?

Could you explain what I'm missing, since my imagined setup is daft?
VBCurtis is online now   Reply With Quote
Old 2020-09-07, 11:37   #4
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

1010011012 Posts
Default

Quote:
Originally Posted by Batalov View Post
Anschirren Sie kein Pferd und kein zitterndes Reh auf demselben Karren.
That's really clumsy German. Did he state that in German, originally? If not, maybe: Man tut nicht gut daran, zugleich ein Pferd und ein gebrechliches Reh vor denselben Karren zu spannen.
kruoli is offline   Reply With Quote
Old 2020-09-07, 14:15   #5
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

2·331 Posts
Default

If you have M.2 slots on the motherboard use them on their own, NVMe if possible. If you have multiple M.2 slots on the motherboard you can potentially raid0 them together but it depends on the topology of the board. If you are considering a PCIe x16 card which allows for 4 M.2 drives to be plugged into it, godspeed.



TBH I don't see the point of raiding any decent NVMe drive for anything other than redundancy unless you have a very particular and expansive workload to accelerate. All that the expensive kit gets you under normal use is the smug satisfaction that your mundane read/writes are done a fraction of a second quicker.
M344587487 is online now   Reply With Quote
Old 2020-09-07, 18:06   #6
bhelmes
 
bhelmes's Avatar
 
Mar 2016

11316 Posts
Default

A peaceful day for you,


as far as I understand, linux regard the ssd-disk as a device and the M.2 also.
The difference in speed may be small,

the ssd-disks are pluged by the sata-bus, the M.2 card is plugged by the pci-bus,
I want to increase the huge of the whole raid0 system,
security or redundance are not important.


I have no experience with a M.2 card.


If I use a btrfs https://en.wikipedia.org/wiki/Btrfs
is it possible to connect the devices ?


Greetings

Bernhard


@Batalov : Your new logo is quite nice
bhelmes is online now   Reply With Quote
Old 2020-09-07, 18:51   #7
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×4,643 Posts
Default

Quote:
Originally Posted by bhelmes View Post
I have no experience with a M.2 card.
Generally, you want all your devices in a RAID array to be the same size, and approximately the same speed.

I guess you /could/ do what you're proposing, but it doesn't seem to make sense. Some read/write requests will be really quick, others not as much. Unpredictably.

IMO, far better to build a separate RAID set, and use the filespace as appropriate for whatever work it is you're doing.

Edit: Forgot to say... I've found that a fast NVMe drive makes an ***amazing*** swap partition! I can now run jobs on my workstation that I used to have to rent cloud compute for.

Last fiddled with by chalsall on 2020-09-07 at 18:53
chalsall is offline   Reply With Quote
Old 2020-09-08, 08:46   #8
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

66210 Posts
Default

Quote:
Originally Posted by bhelmes View Post
...
If I use a btrfs https://en.wikipedia.org/wiki/Btrfs
is it possible to connect the devices ?
...
If you go that route I believe ZFS is a better choice than BTRFS. ZFS stalled for a while due to licensing issues not allowing it in the Linux kernel, but now it is available everywhere and is supposedly more reliable and better supported than btrfs.


Tiered storage is a viable idea for storage but I would still have a separate M.2 as a boot device.
M344587487 is online now   Reply With Quote
Old 2020-09-09, 00:56   #9
bhelmes
 
bhelmes's Avatar
 
Mar 2016

52×11 Posts
Default

Quote:
Originally Posted by chalsall View Post
Generally, you want all your devices in a RAID array to be the same size, and approximately the same speed.

Generally, I want to write and read on one bigger divice in a RAID 0 array,
where the average time to write and read is better than a solid device.


I have one program which is greedy concerning ram / disk space,
but I can write datas in the background on the disk and as the datas are ordered, I can prefetch them in advance.


I try to gather some experinces with raid 0 system, and as ram is expensive
I tried to mix it with a raid 0 system. After calcalution the datas are vanished.
Therefore redundance is not needed.
bhelmes is online now   Reply With Quote
Old 2020-09-09, 01:47   #10
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

53·23 Posts
Default

Personally I'd use LVM instead of mdadm raid 0. Then you can change the underlying devices by adding and removing physical volumes from the volume group.
Mark Rose is offline   Reply With Quote
Old 2020-09-19, 21:45   #11
bhelmes
 
bhelmes's Avatar
 
Mar 2016

52×11 Posts
Default

Quote:
Originally Posted by bhelmes View Post
I have 6 ssd disks, combined to a raid 0 system.
Can I add a M.2 card in addition ?

It is not possible.
I have an Asus motherboard 450 Plus and if a M.2 card is installed,
the bios cut the 5. and 6. ssd disks.


I will "experimentieren" a little bit with the M.2 card,
I use it now as swap partition.


Thanks for your replies.

Bernhard
bhelmes is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking at new GPU card for less than $450 section31 GPU Computing 4 2016-01-19 17:04
Card Tricks davar55 Hobbies 11 2013-05-27 14:28
How well would this card do? Rodrigo GPU Computing 31 2011-08-01 19:44
card probability Mini-Geek Math 8 2007-09-25 20:00
Card Games Uncwilly Hobbies 1 2006-06-03 12:45

All times are UTC. The time now is 02:51.

Thu Oct 29 02:51:23 UTC 2020 up 49 days, 2 mins, 1 user, load averages: 1.37, 1.56, 1.59

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.