Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
BTW, there is something odd with your numbers. The Perl timestamps only give a delta of slightly less than six seconds (~83 MB/s average => reading 228 MB/s, writing 152 MB/s), but your console says almost 22 seconds (which would put the performance at around 23 MB/s)

The difference between the timestamps and the prompt timing is because the prompt had been sat there for a few seconds before (and during) my typing the command.

Here are two sets of prompts, the first shows the prompt had been sat idle for a while before I entered the command. The second run, initiated using command retrieval whilst the first run was in progress executes immediately the first is complete and the delta then reflects the timestamps output by the program:

[14:19:53.80] C:\test>984648-3.pl 500MB.csv junk.txt 1343827530.71078 1343827532.87958 1343827533.36184 ## Delta here several minute +s 1343827536.56099 [14:25:36.61] C:\test>984648-3.pl 500MB.csv junk.txt 1343827536.68696 1343827538.87822 1343827539.3639 ## delta here a gnat's under + 7 seconds! 1343827543.53711 [14:25:43.58] C:\test>

And as far as IO throughput, here's a snapshot of the process performance dialog from Process Explorer after the process finished.

Each vertical gridline represents 3 seconds.

The cyan is the read, and the throughput is shown in the small popup. 120.2MB/0.5 seconds. 500/120.2/2 = 2.0798668885191347753743760399334 seconds to read,

The purple is the write and the throughput is shown on the gauge at the left. 90.4MB/0.5 seconds. 500/90.4/2 = 2.7654867256637168141592920353982 seconds to write.

Slightly optimistic figures, but the total throughput is the area, and if you look closely, you'll see the top of the graphs aren't straight and the leading and trailing edges aren't vertical.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?


In reply to Re^5: Windows 7 Remove Tabs Out of Memory by BrowserUk
in thread Windows 7 Remove Tabs Out of Memory by tallums

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (9)
    As of 2014-12-27 02:10 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (176 votes), past polls