Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Sequential file access R/W

Sequential file access R/W

Scheduled Pinned Locked Moved C / C++ / MFC
questionlounge
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Raphael Kindt
    wrote on last edited by
    #1

    Hi world, My question is simple: How can I write file with a sequencial access type? I want this to accelerate the writing bandwidth of my HD. With a litle application (not open source) I obtain: - For a random writing access, my HD bandwidth is 5 MB/sec - For a sequencial writing access, 15 MB/sec Thanks for all answers... :) Hello World!!! :) from Raphaël

    M 1 Reply Last reply
    0
    • R Raphael Kindt

      Hi world, My question is simple: How can I write file with a sequencial access type? I want this to accelerate the writing bandwidth of my HD. With a litle application (not open source) I obtain: - For a random writing access, my HD bandwidth is 5 MB/sec - For a sequencial writing access, 15 MB/sec Thanks for all answers... :) Hello World!!! :) from Raphaël

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Use the FILE_FLAG_SEQUENTIAL_SCAN flag with CreateFile() to tell the cache manager to expect sequential access. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

      R 1 Reply Last reply
      0
      • M Michael Dunn

        Use the FILE_FLAG_SEQUENTIAL_SCAN flag with CreateFile() to tell the cache manager to expect sequential access. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD

        R Offline
        R Offline
        Raphael Kindt
        wrote on last edited by
        #3

        Thanks a lot for this solution... I will test that now... Hello World!!! :) from Raphaël

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups