User Profile
Collapse
-
managed to do it after searching on the net a bit, thanks! -
windows xp/ CentOS 4.7 Server dual boot problem
Hi,
I had an existing machine having a dick with two partitions.
C: had Windows Xp Professional installed.
D: i installed CentOS 4.7 Server
However during installtion i do not recollect if the linux installer gave me an option for dual boot. Now it directly boots into linux. Is there some whay in which i can fix this and use boot menu to boot into my existing windows installtion on C: and the linux installtion... -
performance, boost mmap files, fstream
Hi,
MSVC 9
Boost 1.38
I have an existing program that reads text files a line at a time using the std::ifstream and istream& getline ( istream& is, string& str );
Typical file size is ~40mb
To increase the file reading performance i used boost::iostream s::mapped_file_ source and tokenized the memory buffer using boost::algorith m::split with "\n" as delimiter... -
This is for release build.
The "/O2" compiler option was turned on in both the compiler versions[in bold], but the performance difference still persists.Leave a comment:
-
msvc v7.1 to v9 performance issues
I have migrated a c++ project from msvc 7.1 using boost 1.32 to msvc 9 using boost 1.38.
I have however noticed that the binary compiled under msvc 9 is almost 25% slower than the one compiled under msvc 7.1
The migration wizard in Visual Studio .NET 2008 did the needful, so i have not manually changed any project settings.
Any suggestions or tweaks will be really helpful.
Thanks in adv... -
hmmm .. thanks for your help, will try to play around a bit with the design and check for results.Leave a comment:
-
The STL container contains a list of file names.
The only time any thread accesses the container is to retrieve the next file name in the queue. This part being the only critical section where threads could block.
After it retrieves a filename from the container it accesses no other shared resource.
I assumed there would be some performance improvement if 4 threads would work on 4 separate file i/o in parallel.
...Leave a comment:
-
boost:threads tweaks?
Hi All,
I am converting some C code into C++ code. The objective is to improve throughput.
I have some code written in C which serially parses through a list of files[~10000], opens each one of them, processes the data and closes the file. All the files are processed one by one.
The obvious performance bottleneck that i could think of is the wasted cpu cycles for file i/o.
*My solution*...
No activity results to display
Show More
Leave a comment: