Why sequential vs random I/O speeds differ for SSD


Recommended Posts

Does anyone have a good understanding of why SSD sequential reads/writes are so much faster than random ones? Some things that are bothering me:

1. There are no moving parts so there's no seek time nor latency time so why the big speed difference...or any difference at all

2. Apparently, people have shown that defragmenting an SSD doesn't improve performance. That implies that whether or not all the pages of a 1MB file are sequentially laid out on disk or randomly dispersed throughout the disk shouldn't matter, but SSD benchmarks clearly show that sequential I/O and random I/O speeds differ.

I'm not sure why write-limits are even a concern considering MLC memory cells have a write limit on the order of 10,000 which I believe means that an entire drive would would die if you repeatedly filled it up 100% and wiped it clean 10,000 times.

I can't give you an answer to the first part off the top of my head, but in regards to write-limits, it becomes more of an issue with applications and processes that are write intensive. You're computer doesn't only access the drive when you explicitly open a file. It is constantly accessing data, and often writing, whether it's saving your browser data to cache, augmenting your game's save file, etc. All that adds up much more quickly then your write/wipe example, although it will affect individual bits, rather then the entire drive at once.

In reality though, SSDs are still a pretty immature technology (relatively speaking), and since you're likely to be upgrading it again relatively soon, it won't even matter, especially so since by the time you do upgrade, the write-limit will probably have been greatly increased.

To my understanding, there is a phenomenal amonut of overhead once the I/O queue gets dumped on with a lot of random requests. The CPU has to coalesce the commands, the storage controller has to interpret and pass them down to the correct drive, and then the drive interprets the best order to process all of these commands (or doesn't if it's a cheap drive controller). Random file operations will likely also involve a lot of file table access, further compounding the issue.

It would be like going to the grocery store and buying a sack of potatos, one potato at a time. The spinning disk version of that would be driving to the farm and pulling up one potato, heading back home and doing it over and over again. Bulk operations, in just about any context, improve efficiency.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • ABP has become "old news" when MV3 started rolling out. They've gone downhill and is now simply irrelevant..... in my experience.
    • About two years ago, I switched to Brave and haven't looked back.
    • FWIW StatCounter has been trash for over 25+ years! Back in the day (circa 2000 and GeoCities pre-Blogger era), it was useful to paste a number on your webpage indicating how many visitors you had. In the ensuing 25+ years, they've grown in reputation and changed their ways... but their overall consumer value has remained abysmal. Serious marketing agencies only cite StatCounter when there's literally no other sources available to support any marketing claims! They are the absolute lowest threshold serious companies use to push any sort of narrative about this-or-that happening. Besides their credibility being what it is, they are forever subject to quality issues. They're so bad that my DNS-level ad-filter prevents me from even viewing their main website! HA!
    • Microsoft had to shut down 70+ GitHub repos after getting hacked, brings back some by Aditya Tiwari The self-replicating malware campaign known as Miasma took the open-source world by storm. It was reported that almost 73 Microsoft GitHub repositories were infected by the worm and had to be temporarily shut down to determine how attackers compromised projects and stuffed password-stealing malware in the code. These GitHub repos span across different organizations, including Microsoft Azure, Azure-Samples, Microsoft, and MicrosoftDocs. The malware enabled attackers to steal passwords and credentials when compromised tools were opened in popular AI coding apps, including Claude Code, Gemini CLI, VS Code, and Cursor. The security firm Cloudsmith, malware analysis site OpenSourceMalware, and 404 Media were among the first to report the hack. For background, Miasma is a variant of the Mini Shai-Hulud worm, open-sourced by the threat group TeamPCP. It started its journey by compromising a Red Hat employee's GitHub account to attack the @redhat-cloud-services npm namespace. Earlier this month, Microsoft Threat Intelligence reported that the Miasma attackers published 32 malicious packages across more than 90 versions under the @redhat-cloud-services npm scope to steal cloud credentials. The worm didn't take long to start attacking source repos directly rather than package registries. It is known to skip the npm registry entirely for several targets and plant malicious code straight into public repos like "icflorescu/mantine-datatable." The delivery approach was designed to weaponize AI coding tools. Miasma's malicious payload embedded into projects can trigger automatic code execution when the infected repo is opened in an AI coding tool or IDE. The list of affected projects includes "durabletask", a Python package compromised by TeamPCP a month earlier to deliver an information stealer designed for Linux systems. That said, Microsoft has begun restoring some repos affected by the malware campaign, The Hacker News reports. A company spokesperson stated the following: Microsoft will continue to investigate the attack. It has notified a small number of customers who may have removed their content from the affected repos. The company will reach out to customers again through established support channels "if anything further is identified that requires customer action."
    • Why is Opera doing this notification at all? They have their own extension store. They don't have to obey anything dictated by Google. Others like Brave and Vivaldi that rely on Chrome's extension store, not so much. Firefox is entirely separate as well with its own extensions store. I honestly don't understand why entire world is just insisting on Chrome. Like, why? It's a stupid fat browser with barely any functionality. But sure, it's installed on everything by default. I don't understand how people even use web that's filled with tracking garbage and ads all over the place.
  • Recent Achievements

    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
    • One Year In
      jojodbn earned a badge
      One Year In
    • One Month Later
      jojodbn earned a badge
      One Month Later
    • Week One Done
      jojodbn earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      531
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      131
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!