how to REALLY tell if u need defrag

Discussion in 'Windows Desktop Systems' started by Perris Calderon, Feb 27, 2005.

  1. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    this is cute...got it reading a post from Jaimie Hanrahan;

    first, the common method of looking at the percent a disk is fragmented really doesn't tell you anything about how often the files you access are affected by the fragmentation

    for instance, if 75 percent of your drive is fragmented, but those files are hardly ever accessed, then all that really matters is the 25% of the disc that you access all the time...if these aren't fragmented, there's not going to be any gain what so ever with a defrag.

    if you're on a server that you need to have "up" as much as possible, you can ignore the percentage of fragmentation and just look to the actual affect the fragmentation is having on your work load

    this method is more accurate

    open perfmon, (windows key+r, type "perfmon" hit enter)

    on one of the counters at the bottom right click, hit add counters.

    on the pull down, go to "physical disc". (logical disc might be better)

    in the window, add "split IO/sec"

    then in the same window add "disc transfer"

    Split IO/Sec reports the rate which I/Os to the disk were split into more then one I/O.

    this happens for one of two reasons...one is rare..a request for data that's too big to fit into a single I/O or the more common reason, that the data for the IO is fragmented.

    Disk Transfers/sec is the rate of the read and write operations on the disk.(total IO's)

    if split IO's is about 10% or more of the total, there's probably a performance hit...the file team might suggest 20% to 50% before a user would notice a difference.

    obviously, you might want to defrag just for the sake of doing it, but this is kinda cute just for the knowledge of it.
     
  2. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    Great info, perris. Always like these kinds of posts from you. :)

    You must spread some Reputation around before giving it to perris again.
     
  3. Xie

    Xie - geek - Subscribed User Folding Team

    Messages:
    5,275
    Location:
    NY, USA
    Great/interesting tip.

    rep given :)
     
  4. mikill

    mikill _

    Messages:
    113
    ok, i see where ur going with this. my question is when this monitor is on screen and ur not doing anything but idling, would these 2 counters be useful?
     
  5. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    if your not doing anything but idling then a fragmented drive can't hurt you could it...these counters will be flat.
     
    vivid_vibe likes this.
  6. vivid_vibe

    vivid_vibe OSNN Senior Addict

    Messages:
    406
    Very informative. :)
     
  7. mikill

    mikill _

    Messages:
    113
    yes they would be. i figured they wouldnt matter at that point, just wanted to see what u thought. thnx

    would copying/pasting be a good way to get a good to find out how badly the fragmentation would be affecting the actual files ur using or would something else say like...just running programs like a web browser, a media player (any), photoshop or etc. be a better way to determine this? thx
     
  8. Johnny

    Johnny .. Commodore .. Political User

    Messages:
    5,015
    Location:
    Happy Valley
    That is cool info ...
     
  9. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    I would log the day and take a look when you're done...or go ahead and start using the programs and files you typically use and look to the counters while doing it.
     
  10. Nighthawk-F117

    Nighthawk-F117 OSNN Junior Addict

    Messages:
    31
    Nice thread. I'll add this to my Pinned thread when I edit it.