[Boost-bugs] [Boost C++ Libraries] #12398: Boost log writes much less records in remote disk than local disk

Subject: [Boost-bugs] [Boost C++ Libraries] #12398: Boost log writes much less records in remote disk than local disk
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-17 20:49:53


#12398: Boost log writes much less records in remote disk than local disk
------------------------------+---------------------
 Reporter: xinyan.zhang@… | Owner: andysem
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: remote disk |
------------------------------+---------------------
 Using Boost.log, my application tries to write a large number of records
 (600 MB) into the file in either a local disk or a remote/network disk. I
 tested twice, but the remote disk got much less records.

 I use text_file_backend as the backend. Both test finished in 8 minutes.
 Then the throughput is 600MB/8/60sec = 1.25M/sec. The file in local disk
 has almost 600 MB. But the file in remote disk is only 200 MB. My
 application is on Windows, so the file path on remote disk is like
 "\\MyFileServer\log\20160817-120329.log". The remote disk is shared by
 many users, so it may be slow. After the test, I still saw new records
 written to the remote file. Seems the network is not blocked.

 That is strange. Could boost log handle remote disk? How to find out the
 root cause? Install exception handler?
 Thank you.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12398>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC