• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

RAID 0 - Help wanted once again

Joined
Mar 6, 2010
Messages
2,188 (0.42/day)
Location
England
Okay so I've had my RAID a few week's now and can say I'm impressed, even with just 2 drives in the array, anyways I've been hearing things about the stripe size? What is this and how does it effect the drives/performance? Also is there a certain setting for any type of drive out on the market?
 
Joined
Jan 14, 2009
Messages
2,644 (0.47/day)
Location
...
System Name MRCOMP!
Processor 5800X3D
Motherboard MSI Gaming Plus
Cooling Corsair 280 AIO
Memory 64GB 3600mhz
Video Card(s) GTX3060
Storage 1TB SSD
Display(s) Samsung Neo
Case No Case... just sitting on cardboard :D
Power Supply Antec 650w
Okay so I've had my RAID a few week's now and can say I'm impressed, even with just 2 drives in the array, anyways I've been hearing things about the stripe size? What is this and how does it effect the drives/performance? Also is there a certain setting for any type of drive out on the market?

128k or higher works the fastest in a raid0, but it also costs the most space when writing small files.


the higher the stripe size(to a point), the faster the data can be read from the drives at a cost of disk space with files small then the stripe size.
 
Joined
Mar 6, 2010
Messages
2,188 (0.42/day)
Location
England
To a point?

Well... I have 1Tb of space which I will never fill, I could never even fill my 500gb with all my crap installed and crap all over the deaktop and such, so should I really be changing the stripe size to the maximum it'll let me set it?
 

JrRacinFan

Served 5k and counting ...
Joined
Mar 17, 2007
Messages
20,073 (3.21/day)
Location
Youngstown, OH
System Name Dual Build Streamer
Processor Ryzen 7900x3d : Ryzen 4600G
Motherboard AsRock B650E Steel Legend : Giga B450i Aorus
Cooling Custom Water 1x420 : Stock
Memory 32GB T-Force Deltas : 16GB Dominator Platinums
Video Card(s) PowerColor 7900 XTX Liquid Devil: iGPU
Storage 20+ TB
Display(s) Sammy 49" 5k Ultrawide
Case Custom White Painted Phanteks Enthoo Pro 2
Audio Device(s) Onboard : Onboard
Power Supply EVGA 1200W P2
Mouse Corsair M65 RGB Elite White
Keyboard Hyperx Origins 65
Software Windows 10
Ok let's put it this way in analogy. Let's call the array a page of word processing. The lower the font(higher stripe size), the more you can fit on a page(stripe cluster). If you only need to file half the page you are wasting the rest of it. So basically you are forfeiting disk space if using alot of small files on a higher stripe size.

@slyfox

not discrediting you, just trying to help techtu understand everything. ;)
 
Joined
Jan 31, 2010
Messages
5,393 (1.04/day)
Location
Gougeland (NZ)
System Name Cumquat 2021
Processor AMD RyZen R7 7800X3D
Motherboard Asus Strix X670E - E Gaming WIFI
Cooling Deep Cool LT720 + CM MasterGel Pro TP + Lian Li Uni Fan V2
Memory 32GB GSkill Trident Z5 Neo 6000
Video Card(s) Sapphire Nitro+ OC RX6800 16GB DDR6 2270Cclk / 2010Mclk
Storage 1x Adata SX8200PRO NVMe 1TB gen3 x4 1X Samsung 980 Pro NVMe Gen 4 x4 1TB, 12TB of HDD Storage
Display(s) AOC 24G2 IPS 144Hz FreeSync Premium 1920x1080p
Case Lian Li O11D XL ROG edition
Audio Device(s) RX6800 via HDMI + Pioneer VSX-531 amp Technics 100W 5.1 Speaker set
Power Supply EVGA 1000W G5 Gold
Mouse Logitech G502 Proteus Core Wired
Keyboard Logitech G915 Wireless
Software Windows 11 X64 PRO (build 23H2)
Benchmark Scores it sucks even more less now ;)
I've found through my own testing of Raid0 arrays that a stripe size of 64k is a good balance of speed and space usage..

larger stripe size = greater read/write speed but greater amount of wasted space (an 4KB file on an 128K stripe will waste 124KB of space)

smaller stripe size = lesser read/write speed but not as much wasted space


atto disk bench will give you a better idea where your array performs best
 
Joined
Aug 10, 2007
Messages
4,267 (0.70/day)
Location
Sanford, FL, USA
Processor Intel i5-6600
Motherboard ASRock H170M-ITX
Cooling Cooler Master Geminii S524
Memory G.Skill DDR4-2133 16GB (8GB x 2)
Video Card(s) Gigabyte R9-380X 4GB
Storage Samsung 950 EVO 250GB (mSATA)
Display(s) LG 29UM69G-B 2560x1080 IPS
Case Lian Li PC-Q25
Audio Device(s) Realtek ALC892
Power Supply Seasonic SS-460FL2
Mouse Logitech G700s
Keyboard Logitech G110
Software Windows 10 Pro
You do not lose space from files that are less than the stripe.

Test for it: I just wrote out a script to write 4,000,000 files on my RAID-0 with two 250GB drives and a 128KB stripe. If the minimum space used for any file is the stripe size, then I shouldn't be able to write more than ~3.82million files, but it does work. This is because stripe size is simply a boundary the controller uses and not a 'unit' like a cluster.
 
Joined
Mar 6, 2010
Messages
2,188 (0.42/day)
Location
England
Meh... this gives me headaches, even after hours of reading other stuff about this online I'm still as clueless from when I first started :eek:

Seem's everyone has their own opinions and needs so no better way than to go change the stripe size for myself and see what works best for me I guess.
 

JrRacinFan

Served 5k and counting ...
Joined
Mar 17, 2007
Messages
20,073 (3.21/day)
Location
Youngstown, OH
System Name Dual Build Streamer
Processor Ryzen 7900x3d : Ryzen 4600G
Motherboard AsRock B650E Steel Legend : Giga B450i Aorus
Cooling Custom Water 1x420 : Stock
Memory 32GB T-Force Deltas : 16GB Dominator Platinums
Video Card(s) PowerColor 7900 XTX Liquid Devil: iGPU
Storage 20+ TB
Display(s) Sammy 49" 5k Ultrawide
Case Custom White Painted Phanteks Enthoo Pro 2
Audio Device(s) Onboard : Onboard
Power Supply EVGA 1200W P2
Mouse Corsair M65 RGB Elite White
Keyboard Hyperx Origins 65
Software Windows 10
Leave it at 128.
 

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
18,887 (3.06/day)
Location
UK\USA
Processor AMD 3900X \ AMD 7700X
Motherboard ASRock AM4 X570 Pro 4 \ ASUS X670Xe TUF
Cooling D15
Memory Patriot 2x16GB PVS432G320C6K \ G.Skill Flare X5 F5-6000J3238F 2x16GB
Video Card(s) eVga GTX1060 SSC \ XFX RX 6950XT RX-695XATBD9
Storage Sammy 860, MX500, Sabrent Rocket 4 Sammy Evo 980 \ 1xSabrent Rocket 4+, Sammy 2x990 Pro
Display(s) Samsung 1080P \ LG 43UN700
Case Fractal Design Pop Air 2x140mm fans from Torrent \ Fractal Design Torrent 2 SilverStone FHP141x2
Audio Device(s) Yamaha RX-V677 \ Yamaha CX-830+Yamaha MX-630 \Paradigm 7se MKII, Paradigm 5SE MK1 , Blue Yeti
Power Supply Seasonic Prime TX-750 \ Corsair RM1000X Shift
Mouse Steelseries Sensei wireless \ Steelseries Sensei wireless
Keyboard Logitech K120 \ Wooting Two HE
Benchmark Scores Meh benchmarks.
You do not lose space from files that are less than the stripe.

Test for it: I just wrote out a script to write 4,000,000 files on my RAID-0 with two 250GB drives and a 128KB stripe. If the minimum space used for any file is the stripe size, then I shouldn't be able to write more than ~3.82million files, but it does work. This is because stripe size is simply a boundary the controller uses and not a 'unit' like a cluster.

Yes thats what i thought. It more dependent on how big the average file is so if 90% of the files on the HDD are small a lower strip size would be better for that drive and of course a higher strip size if the files are bigger.

And a higher strip size would mean less fragmentation too as there is more of the file in one spot on the drive.

When i was testing it with 6 HDD's i found the games array was best around 128 ( large compressed files ) and windows around 32 - 64.
 

JrRacinFan

Served 5k and counting ...
Joined
Mar 17, 2007
Messages
20,073 (3.21/day)
Location
Youngstown, OH
System Name Dual Build Streamer
Processor Ryzen 7900x3d : Ryzen 4600G
Motherboard AsRock B650E Steel Legend : Giga B450i Aorus
Cooling Custom Water 1x420 : Stock
Memory 32GB T-Force Deltas : 16GB Dominator Platinums
Video Card(s) PowerColor 7900 XTX Liquid Devil: iGPU
Storage 20+ TB
Display(s) Sammy 49" 5k Ultrawide
Case Custom White Painted Phanteks Enthoo Pro 2
Audio Device(s) Onboard : Onboard
Power Supply EVGA 1200W P2
Mouse Corsair M65 RGB Elite White
Keyboard Hyperx Origins 65
Software Windows 10
It's currently set at 64kb.... I'll reboot now and change the value then I'll run Atto :)

Oh well, it's ok leave it. It won't hurt anything.
 
Joined
Mar 6, 2010
Messages
2,188 (0.42/day)
Location
England
i found the games array was best around 128 ( large compressed files ) and windows around 32 - 64.

Well I have my OS & games installed on the same drive :ohwell:

Oh well, it's ok leave it. It won't hurt anything.

It won't let me change it anyways, say's I need to use the minimum of 2 disks... :wtf: I'm sure I'm already using 2 disks, or isit a case of deleting the array and creating a new one with the new size? or would that just totally be a foolish thing to even think about doing as it might delete all the data?
 

JrRacinFan

Served 5k and counting ...
Joined
Mar 17, 2007
Messages
20,073 (3.21/day)
Location
Youngstown, OH
System Name Dual Build Streamer
Processor Ryzen 7900x3d : Ryzen 4600G
Motherboard AsRock B650E Steel Legend : Giga B450i Aorus
Cooling Custom Water 1x420 : Stock
Memory 32GB T-Force Deltas : 16GB Dominator Platinums
Video Card(s) PowerColor 7900 XTX Liquid Devil: iGPU
Storage 20+ TB
Display(s) Sammy 49" 5k Ultrawide
Case Custom White Painted Phanteks Enthoo Pro 2
Audio Device(s) Onboard : Onboard
Power Supply EVGA 1200W P2
Mouse Corsair M65 RGB Elite White
Keyboard Hyperx Origins 65
Software Windows 10
Well I have my OS & games installed on the same drive :ohwell:



It won't let me change it anyways, say's I need to use the minimum of 2 disks... :wtf: I'm sure I'm already using 2 disks, or isit a case of deleting the array and creating a new one with the new size? or would that just totally be a foolish thing to even think about doing as it might delete all the data?

Yup just remembered you would have to rebuild the array to change the stripe size.
 
Top