Results 1 to 11 of 11

Thread: reading file with multi-thread

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: reading file with multi-thread

    Quote Originally Posted by weixj2003ld View Post
    Is it because of considering synchronizing the threads,If there are 10 files,I think it can accelerate the speed,Am I right or not?
    I don't know very much about hardware, but I think hard drive has a limit on sustained transfer rate. It is like a water pipe having a fixed diameter that limits the amount of water flowing inside the pipe each second. If you turn on 10 faucets simultaneously at the end of pipe, each faucet will only get 1/10 of water, and will lose some in the middle... I don't if this explanation makes sense, hope someone may have better idea.

    Check this, but I didn't read it (too much for me). You can summarize for us
    http://www.pcguide.com/ref/hdd/perf/...ransSTR-c.html
    Last edited by lni; 15th April 2009 at 04:03.

Similar Threads

  1. File Reading Advice
    By tntcoda in forum Qt Programming
    Replies: 1
    Last Post: 11th November 2008, 19:44
  2. help in reading XML file
    By cshiva_in in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2008, 13:55
  3. QTextStream loses position while reading file
    By bjh in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2008, 15:47
  4. Replies: 3
    Last Post: 18th October 2007, 18:07
  5. QWT 5, QT3, SuSE 10.2. Crash and burn
    By DrMcCleod in forum Qwt
    Replies: 8
    Last Post: 7th September 2007, 20:53

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.