Repository navigation
doc: Improve start/hardware-recommendations.rst - #66293
Conversation
bluikko
left a comment
There was a problem hiding this comment.
Quite a few nits that I can address in a separate PR if necessary.
Also I'm very suspicious of the SAS/SATA interface bottleneck claims but admittedly I'm not an expert in this area.
|
|
||
| OSDs require substantial storage drive space for RADOS data. We recommend a | ||
| minimum drive size of 1 terabyte. OSD drives much smaller than one terabyte | ||
| minimum OSD size of 1 tebibyte (TiB). OSD drives much smaller than this | ||
| use a significant fraction of their capacity for metadata, and drives smaller | ||
| than 100 gigabytes will not be effective at all. |
There was a problem hiding this comment.
Should this be also modified to GiB to be consistent with your previous change on line 165?
Opening this can of worms may lead to several changes if want to keep it consistent across this document...
| .. tip:: With HDDs, the SATA or SAS interface increasingly | ||
| becomes a bottleneck at larger capacities. See also the `Storage Networking | ||
| Industry Association's Total Cost of Ownership calculator`_. |
There was a problem hiding this comment.
Respectfully, I have to say I do not understand this claim. Surely a, say, 12 Gbps SAS is multiple times faster than a rotational disk. Or maybe it discusses the use of SAS expanders and the sort but this is not explicit and is very unclear, to the point that to me this looks like nonsense.
I can't immediately see what does HDD capacity have to do with SAS or SATA interface. HDDs don't generally get much faster as their size increases. Again, maybe it discusses some implied use of expanders on a single bus to share that bus with several disks.
There was a problem hiding this comment.
Surely a, say, 12 Gbps SAS is multiple times faster than a rotational disk.
Is it faster than 10x spinners? 24x? Indeed part of the equation is the backplane, which usually does feature one or more expanders. SAS also tends to require an HBA at additional cost. SAS spinners also cost more than SATA. If SATA isn't good enough, is throwing money at SAS likely to make a gating difference? Plus you still have a chassis that is pretty much limited to HDDs in the future.
HDDs don't generally get much faster as their size increases.
That's the point. Perf does not scale with capacity.
There was a problem hiding this comment.
OK, your point is valid. But the text does not say that... I will continue on the other, more relevant comment on this.
If this text is about the use of expanders then that should be stated, IMO. "Good" backplanes do not use (oversubscribed) expanders.
There was a problem hiding this comment.
And to summarize here: I think this would be a great chance to elaborate about expanders that the text currently glosses over completely. They are indeed an important topic. It (a future PR? I can volunteer to work on it) could discuss especially the oversubscription issue.
There was a problem hiding this comment.
OK, your point is valid. But the text does not say that.
I am very prone to wall-of-text and wanted to avoid going too deep into any rabbitholes here. I'll see what I can do to balance these goals here.
| Also be aware that today's 32TB HDD uses the same SATA interface that was | ||
| already a bottleneck for a 3TB HDD from 2014: more than ten times the data to squeeze |
There was a problem hiding this comment.
I think space between numbers and units would fit in these 2.
| Also be aware that today's 32TB HDD uses the same SATA interface that was | ||
| already a bottleneck for a 3TB HDD from 2014: more than ten times the data to squeeze | ||
| through the same interface. An analogy is to consider a three story building | ||
| with one elevator, then a thirty-two story building with the same single | ||
| elevator. |
There was a problem hiding this comment.
Again, I don't understand this claim at all. 32 TB HDD is not significantly faster than a 3 TB HDD when compared to the interface bandwidth. HDDs are bound by the physical constraints listed earlier and approach nowhere close to the speed of a modern serial interface like SAS/SATA.
Took a quick look at WD DC HC690 32 TB drive datasheet, which can be assumed to list the "optimistic number" and the "sustained transfer rate, max" is less than 300 MBps, which is less than half of SATA 6 Gbps or a quarter of SAS 12 Gbps.
I could be wrong and I might be missing something here. In my opinion the "bottleneck" is not the interface at all (excluding the use of expanders) but the rotational technology as was listed in the earlier paragraph correctly.
I am sure the interface has a lot more latency than PCIe/NVMe but this should be miniscule compared to HDD technology, and then irrelevant to the size of the HDD.
The interface absolutely is a bottleneck for SSDs but even then it is not so much the size of the SSD that is the issue but the generation of the SSD. I agree that larger SSDs, contrary to HDDs, generally are faster than smaller ones but most (?) modern SSDs would exceed the SATA/SAS interface bandwidth anyways.
There was a problem hiding this comment.
32 TB HDD is not significantly faster than a 3 TB HDD when compared to the interface bandwidth.
But you have 10x the amount of data to stuff through that same interface, and the same armature.
"sustained transfer rate, max" is less than 300 MBps
In real life, 70-100 MiB/s max for random ops. There's also the speed at which the HBA can service N drives.
I am sure the interface has a lot more latency than PCIe/NVMe but this should be miniscule compared to HDD technology, and then irrelevant to the size of the HDD.
Consider why it's hard or impossible to find a 15+ TB SATA/SAS SSD, and that when you limit yourself to SAS /SATA, concurrent or future choices for SSDs in the same chassis are very limited.
There was a problem hiding this comment.
32 TB HDD is not significantly faster than a 3 TB HDD when compared to the interface bandwidth.
But you have 10x the amount of data to stuff through that same interface, and the same armature.
Indeed. But the bottleneck is not the interface. The bottleneck is in the physical constraints of a rotational device with moving heads like the text earlier states.
The text here gives an impression that the interface is somehow a bottleneck on a single larger HDD, more than on a smaller HDD. Or at least that is my reading.
I do not intend to die on this hill. I also may misunderstand this text.
"sustained transfer rate, max" is less than 300 MBps
In real life, 70-100 MiB/s max for random ops. There's also the speed at which the HBA can service N drives.
Probably such a limit does exist especially on lower end HBAs. But again my reading of the text is something different than limits on an HBA.
I am sure the interface has a lot more latency than PCIe/NVMe but this should be miniscule compared to HDD technology, and then irrelevant to the size of the HDD.
Consider why it's hard or impossible to find a 15+ TB SATA/SAS SSD, and that when you limit yourself to SAS /SATA, concurrent or future choices for SSDs in the same chassis are very limited.
Seems we are agreeing on this.
There was a problem hiding this comment.
To summarize after reading the whole text & comments again: it would seem we agree on the technical issues. I would just suggest to replace references to "interface" with "rotational technology" or something similar.
There was a problem hiding this comment.
The 6 Gb/s interface is still a bottleneck compared to NVMe access to the same raw capacity.
| with one elevator, then a thirty-two story building with the same single | ||
| elevator. | ||
|
|
||
| For this reason, when using HDDs for | ||
| OSDs, drives larger than 8TB may be best suited for storage of large |
There was a problem hiding this comment.
Would recommend a space between the number and unit here.
| | +----------------+-----------------------------------------+ | ||
| | | Network | 1x 1Gb/s (bonded 10+ Gb/s recommended) | | ||
| | | Network | 1x 1Gb/s (bonded 25+ Gb/s recommended) | |
There was a problem hiding this comment.
I'd recommend a space between the number and unit but I see there's no more space in the column.
Maybe the leading double space in all the cells in this column could be changed to a single space to accommodate.
I can address in a separate PR if needed.
There was a problem hiding this comment.
Yeah I didn't want to get into that rabbit hole.
There was a problem hiding this comment.
Can put this on "the list" for future when I have some free time.
| | +----------------+-----------------------------------------+ | ||
| | | Disk Space | 1 GB per daemon | | ||
| | | RAM | 8GB+ per daemon | |
There was a problem hiding this comment.
Space between the number and unit here too & several surrounding unmodified cells. Suggest to reorg to "8+ GB" or ">8 GB".
| not suffer the dramatic cliffing that client (desktop) models may experience. | ||
|
|
||
| When using a single (or mirrored pair) SSD for both operating system boot | ||
| When provisioning a single (or mirrored pair) SSD for both operating system boot | ||
| and Ceph Monitor / Manager purposes, a minimum capacity of 256GB is advised |
There was a problem hiding this comment.
Could use space between the number and unit here also.
| and at least 960 GB is recommended. A drive model rated at 1+ DWPD (or the | ||
| equivalent in TBW (TeraBytes Written) is suggested. However, for a given write |
There was a problem hiding this comment.
There's an unequal number of opening and closing parenthesis here, I'd suggest to just drop the first one on line 267.
d1de5dd to
3b34b67
Compare
|
Just checking if you noticed the comments about the typos. Would you prefer to leave those for a separate PR? |
|
I believe I amended the commit to address them. |
3b34b67 to
685c3ee
Compare
685c3ee to
dd3d54b
Compare
|
How now, brown cow? |
bluikko
left a comment
There was a problem hiding this comment.
Looks good. Just a few typos and I overlooked one point in the original text about data transfer speeds that I don't understand.
| It takes three hours to replicate 1 TiB of data across a 1 Gb/s network and it | ||
| takes thirty hours to replicate 10 TiB across a 1 Gb/s network. But it takes only | ||
| twenty minutes to replicate 1 TiB across a 10 Gb/s network, and it takes | ||
| only one hour to replicate 10 TiB across a 10 Gb/s network. |
There was a problem hiding this comment.
Surely this should be three hours? What am I missing here?
10 TiB = 10 * 1 TiB -> time should be 10 * 20 minutes -> let's say 3 hours to stay consistent with the 1 Gb/s example of 30 hours?
There was a problem hiding this comment.
Yeah, I've always considered this part a bit ... simplistic but it predates me. I've pushed this change.
Signed-off-by: Anthony D'Atri <[email protected]>
dd3d54b to
b4fa87d
Compare
doc: Improve start/hardware-recommendations.rst
Influenced by a conversation with Frédéric Nass. @FredNass
Signed-off-by: Anthony D'Atri [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.