Results 1 to 3 of 3

Thread: External USB memory performance measurement?

  1. #1
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188

    External USB memory performance measurement?

    Hi Folks,

    What do you recommend as a good (free) tool for measuring transfer rates between your main HDD and external memory such as USB stick/flash/thumb drives?

    I don't really trust the Microsoft software in this matter......................

    Thanks

  2. #2
    Friend of Site Staff
    Join Date
    May 2012
    Posts
    389
    I just time the transfer.
    Gotten to lazy to do any more than that.
    But I have noticed, while using the new Lexar USB 3.0, 8 GB sticks things trasnsfer faster even on this old USB 2.0 laptop.

  3. #3
    Super Moderator rlirpa's Avatar
    Join Date
    Feb 2014
    Location
    MD, US
    Posts
    464
    Here's a simple BATch file that will calculate elapsed times for you.

    Code:
    @echo off
    set STARTTIME=%TIME%
    echo    Start: %STARTTIME%
    rem ---===[ Replace the next ping line with your code ]===---
    ping -n 4 -w 1 127.0.0.1>nul
    set ENDTIME=%TIME%
    echo   Finish: %ENDTIME%
    echo           -----------
    rem -- Changing formatting for the start and end times --
    for /F "tokens=1-4 delims=:.," %%a in ("%STARTTIME%") do (
       set /A "start=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
    )
    for /F "tokens=1-4 delims=:.," %%a in ("%ENDTIME%") do (
       set /A "end=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
    )
    rem -- Calculating elapsed time by subtracting values
    set /A elapsed=end-start
    rem -- Formating results for output
    set /A hh=elapsed/(60*60*100), rest=elapsed%%(60*60*100), mm=rest/(60*100), rest%%=60*100, ss=rest/100, cc=rest%%100
    if %hh% lss 10 set hh=0%hh%
    if %mm% lss 10 set mm=0%mm%
    if %ss% lss 10 set ss=0%ss%
    if %cc% lss 10 set cc=0%cc%
    set DURATION=%hh%:%mm%:%ss%.%cc%
    echo Duration: %DURATION% 
    rem -- Clearing variables from environment
    for %%x in (starttime endtime start end elapsed hh mm ss cc duration) do set %%x=
    :EOF
    Replace that red line that starts with "ping" with your copy/xcopy command.
    Rad

Similar Threads

  1. Butt measurement
    By devpon in forum Tech Humor
    Replies: 0
    Last Post: April 1st, 2006, 05:11 PM
  2. D/L speed measurement
    By foxyloxley in forum General Computer Discussions
    Replies: 1
    Last Post: January 21st, 2006, 03:39 PM
  3. Network bandwidth measurement
    By melm in forum Network Security Discussions
    Replies: 10
    Last Post: June 30th, 2003, 11:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •