Slashdot Mirror


Estimated Transfer Time Is No More In Windows 8

MrSeb writes "Ahh, the Windows Explorer progress dialog. For years it has been struggling to figure out how to calculate how long our copy and delete operations would take, sliding the progress bar back and forth in a seemingly random, haphazard way, the laws of time all but ceasing to exist — five seconds remaining one moment and 13 minutes the next. That's (almost) all going to change, with the arrival of a greatly improved file management experience in Windows 8. Copy, move, delete, rename, and conflict resolution are all being overhauled and it's about time!"

38 of 456 comments (clear)

  1. Obligatory XKCD by supersloshy · · Score: 3, Insightful
    --
    "Our country is not nearly so overrun with the bigoted as it is overrun with the broadminded." -Archbishop Fulton Sheen
    1. Re:Obligatory XKCD by Sez+Zero · · Score: 2

      You all knew it was coming ;)

      XKCD612 was actually referenced in TFA. So, yes, I knew it was coming.

    2. Re:Obligatory XKCD by idontgno · · Score: 4, Insightful

      This is Slashdot. Why would TFA have given anyone any idea about anything? That would have required reading it, and that never happens. Ever.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    3. Re:Obligatory XKCD by Moryath · · Score: 3, Funny

      Not only that, it kicked my dog and stole my grandmother's false teeth!

    4. Re:Obligatory XKCD by dingen · · Score: 2, Funny

      Ah great! I like funny jokes a lot better than unfunny ones. Well done, blog administrator for including my favorite type of joke!

      --
      Pretty good is actually pretty bad.
    5. Re:Obligatory XKCD by GameboyRMH · · Score: 2

      It turned me into a newt!

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    6. Re:Obligatory XKCD by GameboyRMH · · Score: 3, Funny

      Yeah Microsoft can't fix a feature that works fine in most other OSes so they remove it entirely. Great work guys. Great work.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    7. Re:Obligatory XKCD by Anonymous Coward · · Score: 2, Insightful

      I wonder...

      - was Microsoft really not able to fix that (probably) easy bug?

      - or did they think it's not important enough?

      There was another (less) famous bug: notepad not able to deal with word-wrap correctly - not sure if they fixed this one in Vista+ (that was happening in the latest XPs).

      So how do you calculate how long it will take to copy files? On the same device? Between physical devices? Between different interfaces (SATA -> USB)? Across a network? What if the system is thrashing and busy? What if there's network traffic? What if a cluster of bad sectors is discovered and it's trying to relocate them on the fly? Is it verifying the copy? Are all selected files from the same location? Are there links? Sparse files? Will the server have to bring a tape unit online? Copying on different partition formats? What about alternate data streams? Will a virus scanner inspect them? ACLs between different domains?

      With so many conditions and edge cases and minutia, simply projecting estimates from sampled speed data seems like a pretty good compromise if you want an estimate of the time. Problem is, people don't understand it's an estimate. An exact prediction of the future would be nice, but I don't want to sit for 50% of the total copy time while the computer does the maths required to make that perfect deterministic calculation ala Star Trek.

    8. Re:Obligatory XKCD by tunapez · · Score: 2

      I wonder... - was Microsoft really not able to fix that (probably) easy bug? - or did they think it's not important enough?

      Yes.

      --
      Imagination drew in bold strokes, instantly serving hopes and fears, while knowledge advanced by slow increments...
    9. Re:Obligatory XKCD by Sarten-X · · Score: 3, Informative

      So how do you calculate how long it will take to copy files?

      Off the top of my head:

      Maintain a table of expected speeds for each storage device on the filesystem. Record how long it takes to read the filesystem information. When a device is mounted, if it's reasonable for the device type, seek to the middle and end, measuring speeds there, too. Get approximate curves for the read and write speeds across locations, and use those for future estimates. For future read and write operations, take note of where they are and how fast they go, and adjust the curves accordingly.

      When an operation starts, look at the curves for input and output for the respective devices. Find the expected speed for the target location. Whichever speed is lower should be used for the estimate.

      With so many conditions and edge cases and minutia, simply projecting estimates from sampled speed data seems like a pretty good compromise if you want an estimate of the time.

      Edge cases are edge cases, and shouldn't be causing incorrect estimates most of the time. Estimating based on the first few seconds of an operation makes sense if that's all the information you have, but a modern operating system should be able to know so much more than that now. It should be able to know the effects of virus scanners and verification. It should know how fast a device has performed in the past.

      Problem is, people don't understand it's an estimate.

      Saying that your transfer will take somewhere between 5 minutes and 9 hours is not an estimate. It's a mockery. What I want to know is whether I should get a cup of coffee, watch some TV, or read a novel. What I'm told is that my OS has no idea what it's working with.

      --
      You do not have a moral or legal right to do absolutely anything you want.
  2. It will be... by kiehlster · · Score: 2

    1302481501461469 minutes until this feature is completed.

  3. So.. by cyberchondriac · · Score: 2

    It'll be replaced by a dialog box saying, "It's done when it's done"?

    --

    Look back up at my post, now look back down, you're on the Internet. Now look back up. I'm a signature.
  4. Teracopy by mehrotra.akash · · Score: 4, Insightful

    Perhaps they should just buy teracopy

  5. So Futuristic by droidsURlooking4 · · Score: 2

    Finally catching up to ftp and kermit

  6. Terrible summary & headline by Godai · · Score: 4, Insightful

    First, I've never seen the progress bar in a Windows file transfer progress bar slide 'back and forth in a seemingly random, haphazard way'. I've seen progress bars that do that, and but I've never seen a Windows file transfer dialog do that. The estimation can jump around like crazy at times, but the progress bar was always fine (since, I assume, it's simply based on # of files completed). Maybe Windows 98 did that? I don't remember it doing that, but its been a while. Certain XP, Vista & Windows 7 don't.

    Second, if you RTFA the estimated transfer time is currently still there; its just downplayed.

    --
    Wood Shavings!
    - Godai
    1. Re:Terrible summary & headline by The+MAZZTer · · Score: 2

      The problem is that the progress dialog pre-Vista does not know how many files there are as it starts, so the progress bar may go quickly for a bit then slowly for another bit as it encounters folders with few small files and folders with many large files, respectively.

    2. Re:Terrible summary & headline by hcs_$reboot · · Score: 3, Funny

      You read RTFA?

      You read RRTFA?
      Error Stack Overf%$3z/.$%#@

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    3. Re:Terrible summary & headline by greed · · Score: 2

      If the count isn't known, it shouldn't use a progress bar. What's the Windows version of the "barber pole" unknown-limits-but-not-crashed progress indicator?

  7. And The Rest Of What Makes Windows Garbage by Anonymous Coward · · Score: 2, Interesting

    * Drive letters - WTF???

    * \ instead of the standard / - leave it to Microsoft when faced with picking a sane choice and and a mind boggling idiotic one...

    * Can't boot to a standard desktop from any Windows OS media

    * No application bundles

    * The Registry - LOL. Why lose just the settings for a single application when you can lose everything! Thanks Microsoft!

    1. Re:And The Rest Of What Makes Windows Garbage by Radres · · Score: 2

      What about not having cancelling a print job take forever and a day?

    2. Re:And The Rest Of What Makes Windows Garbage by djdanlib · · Score: 3, Informative

      Oh, kids these days just don't troll like they used to. How about we get some facts in here, instead?

      There is no standard directory separator:

      / is UNIX and derivative OSes since the beginning of subdirectories
      : was the separator on MacOS from the 1980s until MacOS/X
      \ is DOS and Windows, from the 1980s
      VMS was this massive mess: http://www.itec.suny.edu/scsys/vms/ovmsdoc073/V73/6489/6489pro_010.html
      (Were there others?)

      Also, if you lose your Registry... wow. Never seen that happen in 16 years of working in IT. I think the last time I heard of that was when someone's hard drive started going bad, and they were running Windows 95, and had never backed up anything in their lives. Why wouldn't anyone back up their hard drive regularly, anyway? Some people must like the pain of reinstalling everything and starting from scratch... Mac / UN*X users are not exempt from this requirement either.

    3. Re:And The Rest Of What Makes Windows Garbage by UnknownSoldier · · Score: 2

      > You have a bunch of commands that use / as the symbol indicating a flag. You want to add directories to your file system. Are you going to change all the commands and thus make any scripts no longer work, use the / for both a directory separator and a flag, thus giving ambiguous commands or use a different separator?

      Why does config.sys have the SWITCHAR= command then??

      DOS 2+ - SWITCHAR - SET SWITCH CHARACTER
      AX = 3701h
      DL = new switch character

      Return:
      AL = status 00h successful FFh unsupported subfunction

      Notes: Documented in some OEM versions of some releases of DOS; DOS 2.x had a SWITCHAR=c setting in CONFIG.SYS. Supported by OS/2 compatibility box and Novell DOS 7. Ignored by MS-DOS 5+ and DR DOS 3.41-6.0; DR DOS 6.0 and Novell DOS 7 leave AX unchanged

      http://www.ctyme.com/intr/rb-2753.htm

    4. Re:And The Rest Of What Makes Windows Garbage by LO0G · · Score: 2

      Actually the \ character was chosen because the "/" character was used in DOS 1.0 for command line switches. And / was used in DOS 1.0 for command line switches because that's what they used in the DEC operating systems (VMS, DECSystem 10, DECSystem 20) from the 1970s. Remember that DOS 1.0 didn't support directories (all files were located at the root of the drive). They added directory support in DOS 2.0. Once / was used as a command line switch delimiter, it couldn't be used as a path separator, so they chose \ instead.

      If you're going to blame the "/" character on anyone, it's not MSFT, it's DEC.

      Oh and here's a little known fact: DOS (and Windows) allows the user to use either \ or / as a path separator.

    5. Re:And The Rest Of What Makes Windows Garbage by EvanED · · Score: 2

      I'd have modded you up except I'd rather nitpick. :-)

      Oh and here's a little known fact: DOS (and Windows) allows the user to use either \ or / as a path separator.

      This is true... sort of. The problem is it's not completely consistent from a UI perspective, even among MS stuff. Lots of CMD's builtin commands won't work with / separators, and it won't tab complete through them. ('dir foo/bar' gives 'paramater format not connect'.)

      The standard file dialogs also don't work properly if you give them a path with /s, nor do they offer completions.

    6. Re:And The Rest Of What Makes Windows Garbage by blahplusplus · · Score: 2

      "* Drive letters - WTF???"

      So what? What is so wrong with drive letters?

      "* \ instead of the standard / - leave it to Microsoft when faced with picking a sane choice and and a mind boggling idiotic one..."

      Blame nerds for having no business savvy to make THEIR FAVORITE OS the defacto standard not others who saw the business opportunity the nerds didn't.

      "* Can't boot to a standard desktop from any Windows OS media"

      Yes you can Norton Ghost does this, it is possible you just haven't looked into how to do it.

      "* No application bundles"

      What?? Most people buy their PC's from PC vendors and most vendors include pre-installed apps anyway, why would this matter at all?

      "* The Registry - LOL. Why lose just the settings for a single application when you can lose everything! Thanks Microsoft!"
      The registry has problems no doubt about it but all the settings for many things are in one place. Would you rather have 100's of seperate config files?

      All of your complaints are questionable to say the least, and lets not forget linux's damn near lack of usability by normal human beings for so long. Nerds often forget that they have no sense to of designing things for OTHER PEOPLE to use.

      This is why people like steve jobs are rich and why many nerds never made it in business.

    7. Re:And The Rest Of What Makes Windows Garbage by Kalriath · · Score: 2

      * Drive letters - WTF???

      Mount points are just fucking indecipherable to regular users. "/dev/sda1" lolwut?

      * \ instead of the standard / - leave it to Microsoft when faced with picking a sane choice and and a mind boggling idiotic one...

      Oh, you mean Digital Research, who wrote DOS. Microsoft didn't.

      * Can't boot to a standard desktop from any Windows OS media

      A feature no-one cares about. Joy.

      * No application bundles

      Here you show your true colours, Mac fanboy. Since OS X is the only OS that has this concept. And app bundles are just folders anyway. /Applications/Safari.app is no different than C:\Program Files\Safari except one of the two OSes hides the implementation from the user. I don't like my computer hiding things from me, mmkay.

      * The Registry - LOL. Why lose just the settings for a single application when you can lose everything! Thanks Microsoft!

      Despite how you *nix fanboys rant on about it, I have never, in my entire life, encountered a corrupt registry. It's almost like you overstate the prevalence of this issue to make Windows look bad!

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    8. Re:And The Rest Of What Makes Windows Garbage by DMUTPeregrine · · Score: 2

      I have. They tend to go corrupt because the disk is failing though, so it's almost never not a windows specific error. /etc getting trashed is effectively the *nix equivalent.

      --
      Not a sentence!
  8. Re:Will the file copy/move crash.... by SJHillman · · Score: 2, Funny

    You can copy files in Vista? I've never had the system stable long enough to try that.

  9. Windows really does that? by Anon-Admin · · Score: 4, Funny

    Wow, I guess I am out of touch with windows flaws. I quit running windows back at windows 3.1.

    Ill stick with Linux until windows is ready for the desktop. ;P

  10. queue by eddy · · Score: 2

    I wish the transfer window created had a pause function, and was actually a queue so that I could queue up more files for the same action (copy/move).

    --
    Belief is the currency of delusion.
  11. Re:W7 is pretty good about it by billcopc · · Score: 4, Interesting

    I think you meant to say "... performs better with larger files".

    You nailed it though. My big gripe with Windows it how it seems to spend more time fiddling with metadata / directory entries than the actual contents. On an SSD with 700mb/sec writes and 0.1 msec access times, I'd expect it to churn through a few thousand files per second at the very least. That's not even factoring the disk cache. All those MFT updates seem to drag it right back down to spinning-disk speeds when dealing with numerous small files. You know, like a source tree or a directory full of images.

    As sequential storage performance continues to improve, filesystem overhead is becoming the primary bottleneck.

    --
    -Billco, Fnarg.com
  12. Re:Will the file copy/move crash.... by broggyr · · Score: 2

    Chuck Norris copied a file in Vista. Once.

    --
    Irony? Yea, it's like goldy and bronzy, only it's made of iron!
  13. What about search? by CCarrot · · Score: 3, Insightful

    I'm still mad about the (basically) neutered search capability for desktop/LAN files in Windows 7.

    What used to be a consistent
    "right-click, choose 'Search', enter 'filename' OR 'phrase in file', tick off search parameters, optionally expand and enter detailed parameters, hit 'Search' button->Results"

    workflow has been 'simplified' to

    "enter your search string in this little text window and we'll search inside every goddamn file in this directory/subdirectory (oh, and across teh internets and rifling through your emails too, if you want!) for that search term, no matter how long it takes -> wait for freaking ever -> more results than you ever needed, or no results if it's a system file, not in an indexed location or Windows simply doesn't like it for some reason. Oh, you want additional search parameters? Good luck finding any besides filesize and date modified!"

    You used to be able to re-enable old-style search on Vista (somewhat), but I guess they thought it was too much of a dinosaur (or too useful, perhaps) to include in Win 7. Bah. Get off my lawn!

    --
    "I love animals! Some are cute, others are tasty, what's not to like?" - Betsy Schroeder, Jeopardy contestant
    1. Re:What about search? by kb7oeb · · Score: 2
    2. Re:What about search? by networkzombie · · Score: 2

      You should try reading the manual. http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx It is called Advanced Query Syntax and it is very powerful and easy to learn. Use it like this: ext:.cmd folder:bin filename:*z*

  14. Re:How about replacing an open file? by Barefoot+Monkey · · Score: 4, Informative

    And exactly which OS(es) allows you to rename or move files that have write exclusive locks on them? Because, from what I can see this has, again, nothing to do with Windows.

    BSD, Linux and MacOS allow you to do that, and even delete or overwrite the file while it's still locked without causing problems. Moving, deleting or renaming a file affects only a hardlink to the file and not the file itself; and overwriting a file is actually just deleting a hardlink and writing to a completely new file.

  15. Thank you by warrax_666 · · Score: 2

    You seem to be about the only responder in this thread who actually understands how files work.

    It's pretty sad that people don't understand the pseudo-atomicity of the POSIXish way of handling file names (as opposed to files).

    (You could also have mentioned the distinction between file handles and inodes (and lazy unlinking) to explain the "program can write to a deleted file without causing harm" bit, but whatever.)

    --
    HAND.
  16. Re:How about replacing an open file? by riscthis · · Score: 2

    I don't want to have to install a stupid unlocker program like I do on Windows.

    Using such a program has a very good chance of causing random file corruption:

    http://technet.microsoft.com/en-us/magazine/2009.04.windowsconfidential.aspx

    "Forcing a handle closed is equivalent to reaching into a program and freeing some memory. The program thinks the handle (or memory) is still valid and will continue to use it. But since the handle is really free, it will be reused for something else."