Storage Forums: SSD's = Defrag is a thing of the past? - Storage Forums

Jump to content

Advertisement

  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

SSD's = Defrag is a thing of the past?

#1 User is offline   Roxor McOwnage Icon

  • Member
  • Group: Member
  • Posts: 27
  • Joined: 21-March 03

Posted 14 April 2007 - 06:29 PM

If you have a SSD... with no moving parts... does that mean there's no speed penalty from having files fragmented in many different chunks? i.e. it's the same speed to read 10 chunks of data that are all "beside each other" (does that even make sense in solid-state drives?) as it is to read 10 chunks of data in random locations.

Think of all the work that has gone into drive logic to reorder IO to reduce seeks... all the work put into OS's to try to collect reads/writes into contiguous chunks... all the work done by filesystems to try to "do the right thing" to reduce fragmentation...

...is that all wasted effort if SSDs become popular?

(related question: does that mean I could fill a SSD to 100% full and it wouldn't get slower as it fills?)

Rox


If you would like to remove this advertisement, please register.

#2 User is offline   Bicster Icon

  • Member
  • Group: Member
  • Posts: 183
  • Joined: 01-August 02

Posted 14 April 2007 - 08:53 PM

Fragmentation will still slow down an SSD, but it would be a lot harder to notice / measure. By way of example, it's faster to request one 64KB block of data than eight 8KB blocks. That said, I doubt I'd bother to defrag any SSD's I own.

#3 User is offline   K15 Icon

  • Member
  • Group: Member
  • Posts: 385
  • Joined: 20-December 05

Posted 14 April 2007 - 10:49 PM

Defrag is already almost a thing of the past. With NTFS, it prevents horrible fragmentation most of the time anyhow. And if you leave your computer on long enough (like me, 24/7), then the disk never gets very fragmented since, as I understand it, windows does some tidying up when the computer sits idle for some amount of time.

But I'm sure with SSDs, even "bad" fragmentation wouldn't cause any major problems.
Posted Image

#4 User is offline   imsabbel Icon

  • Member
  • Group: Member
  • Posts: 331
  • Joined: 06-March 04

Posted 15 April 2007 - 04:07 AM

View PostBicster, on Apr 14 2007, 08:53 PM, said:

Fragmentation will still slow down an SSD, but it would be a lot harder to notice / measure. By way of example, it's faster to request one 64KB block of data than eight 8KB blocks. That said, I doubt I'd bother to defrag any SSD's I own.

Thats irrelevant, dont you think?
Where exactly should that delay take place?
A 64Kb request will be broken down into x*blocksize requests in the ssd controller, no matter in what form those are present on the medium.
The position of those x blocks is of no convern for the controlelr for reading purposes.
In fact, giving wear leveling algorithms, its a safe bet that your blocks are pseudo-randomly distributed in any case.

#5 User is offline   bfg9000 Icon

  • Member
  • Group: Member
  • Posts: 1,321
  • Joined: 05-April 03

Posted 15 April 2007 - 06:57 AM

If the SSD is based on flash memory then defrag can help writing speed by keeping large contiguous blocks of open space available.

Flash is traditionally slow with writing because it is block-erased immediately before write operation. Having more contiguous open space available increases the odds that all the required space will already carry 1s or can be block-erased in one go, and that data bits will not need to be read then rewritten into a block.

#6 User is offline   Roxor McOwnage Icon

  • Member
  • Group: Member
  • Posts: 27
  • Joined: 21-March 03

Posted 15 April 2007 - 07:50 AM

I think imsabbel is right: there's no benefit to having contiguous blocks of data. Contiguous would really only mean the chunks of data are side-by-side logically in some address space... the bits themselves could be sprayed randomly all over a collection of flash chips and the speed would be the same.

#7 User is offline   imsabbel Icon

  • Member
  • Group: Member
  • Posts: 331
  • Joined: 06-March 04

Posted 15 April 2007 - 09:20 AM

View Postbfg9000, on Apr 15 2007, 06:57 AM, said:

Flash is traditionally slow with writing because it is block-erased immediately before write operation. Having more contiguous open space available increases the odds that all the required space will already carry 1s or can be block-erased in one go, and that data bits will not need to be read then rewritten into a block.

Thats true, but consider:
Wear leveling will cause all this not to get exposed to the OS at all.
If you are writing block 00001 1000 times, it will always point to a different physical block.
If you overwrite block 0815, then the physical block the data was initally in might not be touched at all, as the wear leveling will point the write to another block.
"contiguous open space", as seen by the OS, and the filesystem, has no meaning on physical layer.

All this logic (distributing writes towards most suitable memory regions, regarding block health status, bursts, ect, will entirely be in the domain of the controller.

#8 User is offline   TheR Icon

  • Member
  • Group: Member
  • Posts: 23
  • Joined: 06-August 05

Posted 16 April 2007 - 02:37 AM

He, he. SSD is fragmented by default :D, since it's logic tries to spread writes trough the available space because flash cell can be written only about million times before it dies.

by

TheR

#9 User is offline   HMTK Icon

  • Member
  • Group: Member
  • Posts: 1,044
  • Joined: 06-December 05

Posted 16 April 2007 - 06:27 AM

Quote

Defrag is already almost a thing of the past. With NTFS, it prevents horrible fragmentation most of the time anyhow.


Really? Then why did I have four exceedingly slow machines last week with horribly fragmented disks that suddenly became usable again after a mere defrag? XP with NTFS and 50% or more free space.
Giga-Byte GA-M61P-S3, Radeon HD 2400, Athlon 64 X2 4400+, 4 x 2 GB DDR 2 667, LiteOn DVD Rewriter, Toshiba DVD drive, Maxtor Diamondmax 17 160 GB SATA, WD4000AAKS 400 GB SATA, Vista Ultimate 32 (-> 64 bit Any Time Soon Now)

#10 User is offline   imsabbel Icon

  • Member
  • Group: Member
  • Posts: 331
  • Joined: 06-March 04

Posted 16 April 2007 - 08:31 AM

View PostHMTK, on Apr 16 2007, 06:27 AM, said:

Quote

Defrag is already almost a thing of the past. With NTFS, it prevents horrible fragmentation most of the time anyhow.


Really? Then why did I have four exceedingly slow machines last week with horribly fragmented disks that suddenly became usable again after a mere defrag? XP with NTFS and 50% or more free space.

Problem in front of the screen?

  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users