this post was submitted on 12 Dec 2024
512 points (98.9% liked)

linuxmemes

21570 readers
711 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 4 points 5 days ago* (last edited 5 days ago) (2 children)

    I have a nas with 32TB. My main pc has 2TB and my laptop 512GB. I expected to need to upgrade especially the laptop at some point, but haven't gotten anywhere near using up that local storage without even trying.
    I don't have anything huge I couldn't put on the nas.

    At this point I could easily go 4TB on the laptop and 8TB the desktop if I needed to.
    Spinning rust is comparable in speed to networking anyway, so as long as noone invents a 20TB 2.5'' hdd that fits my laptop for otg storage, there would be no reason something would benefit from an hdd in my systems over in my nas.

    Edit:
    Anything affordable in ssd storage has similar prices in M.2-nvme and 2.5''-sata format. So unless you have old hardware, I see the remaining use for sata as hdd-only.

    [–] [email protected] 1 points 1 day ago (1 children)

    So unless you have old hardware, I see the remaining use for sata as hdd-only.

    how many M.w slots do current motherboards have? a useful property of SATA is that it's not rare to have 6 of them

    [–] [email protected] 1 points 20 hours ago* (last edited 20 hours ago) (1 children)

    M.2 nvme uses PCIe lanes. In the last few generations both AMD and intel were quite skimpy with their PCIe lane offering, generally their consumer CPUs have only around 20-40 lanes, with servers getting over 100.
    In the default configuration, nvme gets 4 lanes, so usually your average CPU will support 5-10 M.2 nvme SSDs.
    However, especially with PCIe 5.0 now common, you can get the speed of 4 PCIe 3.0 lanes in a single 5.0 lane, so you can easily split all your lanes dedicating only a single lane per SSD. In that configuration your average CPU will support 20-40 drives, with only passive adapters and splitters.
    Further you can for example actively split out PCIe 5.0 lanes into 4x as many 3.0 lanes, though I have not seen that done much in practice outside of the motherboard, and certainly not cheaply. Your motherboard will however usually split out the lanes into more lower-speed lanes, especially on the lower end with only 20 lanes coming out of the CPU. In practice on even entry-level boards you should count on having over 40 lanes.

    As for price, you pay about 30USD for a pcie x16 to 4 M.2 slot passive card, which brings you to 6 M.2 slots on your average motherboard.
    If you run up against the slot limit, you will likely be using 4TB drives and paying at the absolute lowest a grand for the bunch. I think 30USD is an acceptable tradeoff for a 20x speedup almost everyone on this situation will be taking.
    If you need more than 6 drives, where you would be looking at a pcie sata or sas card previously, you can now get x16 pcie cards that passively split out to 8 M.2 slots, though the price will likely be higher. At these scales you almost certainly go for 8TB SSDs too, bringing you to 6 grand. Looking at pricing I see a raid card for 700usd, which supports passthrough, i.e. can act as just a pcie to M.2 adapter. There are probably cheaper options, but I can't be bother to find any.

    Past that there is an announced PCIe x16 to 16 slot M.2 card, for a tad over 1000usd. That is definitely not a consumer product, hence the price for what is essentially still a glorified PCIe riser.

    So if for some reason you want to add tons of drives to your (non-server) system, nvme won't stop you.

    [–] [email protected] 1 points 10 hours ago (1 children)

    that's good to be aware of, but using nvme drives for lots of storage does not seem to be economical. (I assume) in most cases large amounts of storage like this is used for archival and backups, where speeds don't matter over what good HDDs can do.

    [–] [email protected] 1 points 10 hours ago

    Oh yeah absolutely. As mentioned above I myself use spinning rust in my nas.
    The difference is decreasing over time, but it'll be ages before ssds trump hdds in price per TB.

    The difference now compared to in the past is that you are looking at 4TB SSDs and 16TB HDDs, not 512GB SSDs and 4TB HDDs, and in my observation the vast majority has no use for that amount of storage currently, while the remainder is willing or even happy to offload the storage onto a separate machine with network access, since the speed doesn't matter and it's the type of data you might want to access rarely but from anywhere on any kind of device.
    Compare for example phones that are trying to sell you 0.25 or 0.5 TB as a premium feature for hundreds of usd in upmark.
    If anyone had use for 2TB of storage, they would instead start at 0.5 and upsell you to 2 and 4 TB.

    I myself have 32TB of storage and am constantly asking around friends and family if anyone has large amounts of data they might wanna put somewhere. And there isn't really anyone.
    Even the worst games only use up so many TB, and you don't really wanna game off of HDD speeds after tasting the light. And if you'd have to copy your game over from your HDD, the time it'd take to redownload from steam is comparable unless your internet is horrifically bad.
    My extensive collection of linux ISOs is independent and stable, and I do actually share it with a few via jellyfin, but in all its greatness both in amount and quality it still packs in below 4TB. And if you wanna replicate such a setup you'd wanna do it on a dedicated machine anyway.

    If I had to slim down I could fit my entire nas into less than 4TB if I'm being honest with myself, in my defense I built it prior to cost-effective 4TB SSDs. The main benefit for me is not caring about storage. I have auto backups of my main apps on my phone, which copy the entire apk and data directories, daily, and move them to the server. That generates about 10GB per day.
    I still haven't bothered deleting any of those, they have just been accumulating for years. If I ever get close to my storage capacity, before buying another drive I'd first go in and delete the 6TB of duplicate backups of random phone apps dated 2020-2026.
    I wrote a paper grouping together info of tons of simulations. And instead of taking out the measurement files containing the relevant values every 10 simulation steps (2.5GB), or the data of all system positions and all measured quantities every 2 steps (~200GB), I copied the entire runtime directory. For 431 simulations, 8.5GB per, totaling 1.8TB.
    And then later my entire main folder for that entire project and the program data and config dirs of the simulation software, for another half a TB. I could have probably saved most of that by looking into which files contain what info and doing some most basic sorting. But why bother? Time is cheap but storage is cheaper.

    But to go for simply the feeling of swimming in storage capacity, you first need to experience it. Which is why I think noone wants it. And those that do already have a nas or similar setup.

    Maybe you see a usecase that would see someone without knowledge or equipment need tons of cheap storage in a single desktop pc?

    [–] [email protected] 1 points 3 days ago (1 children)

    doesn't the nas use spinning rust?

    [–] [email protected] 1 points 3 days ago