Copy Handler Community Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 17, 2012, 11:26:53 AM

Login with username, password and session length
Search:     Advanced search
SMF - Just Installed!
339 Posts in 120 Topics by 535 Members
Latest Member: Gff32Mrsh
* Home Forum Help Search Login Register
+  Copy Handler Community Forum
|-+  CH Support
| |-+  General support
| | |-+  Buffering Questions
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Buffering Questions  (Read 3478 times)
epiquestions
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
« on: September 03, 2007, 01:18:40 AM »

Could you explain the whole buffering options and the concept of buffering?

What are the factors that you need to consider in specifying the values for the buffers (ie processor, memory, etc)?

You said in the help file that "copying large files without buffering in many cases is faster than copying with buffering).",
could you explain that?

Thanks I hope I'm not being too ignorant.
Logged
Ixen
Administrator
Full Member
*****

Karma: +5/-0
Offline Offline

Posts: 121



View Profile
« Reply #1 on: January 29, 2008, 09:59:47 PM »

Hello,
I'm sorry for the really late response.
Buffering in system causes a file currently being accessed to be stored (at least partially) in memory (in cache). It is considered a good thing in most cases, because if you use the same file second time - it won't need to be read from disk.
Cache has some maximum size; when there are new data to be cached, the old ones must be purged (it's very simple explanation, but should be enough for the example).
Disabling system caching(buffering) for copying large files causes the file to be read from disk without affecting system cache and causing it NOT to purge what it has inside. This way the operation of copying data (which most probably will be accessed only once by mean of copying) does not affect the data system cached earlier (ie. some libraries, other frequently used files).

CH internal buffering is related to the packs of data that should be read/written at one time. On some hardware some values work better than on other. It's a matter of doing some experiments (restarting system, copying with some buffer size, restarting, trying another one, ...). The buffer size in this case states also how much memory will be allocated for holding the data.

Hopefully it explains something.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.04 seconds with 20 queries. (Pretty URLs adds 0.007s, 2q)