Live Business Chat
2013 May 22, 10:03:15 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Some accounts got accidentally deleted by anti-spam software during a spammer attack on this forum. Please re-register. If you have trouble, contact badon or tamo42 in the chat. This is a friendly non-profit discussion group about making money. You won't be able to see all forums at first. You have to register to see more forums. Click the "NOTIFY" button every chance you get to receive instant alerts about new information.
 
   Home   Help Search Calendar Login Register  
Pages: 1   Go Down
  Print  
Author Topic: Worth to set directory for temporary files ?  (Read 354 times)
0 Members and 1 Guest are viewing this topic.
Yutaka Sawada
Moderator
Mogul
*****

Karma: +8/-0
Offline Offline

Posts: 313


« on: 2011 Oct 28, 06:27:37 pm »

 I made this new topic, because I want to know how are users' PC environment.

 Temporary(work) files are used for repair mostly. Some users think that using fast HDD drive or ram drive for temporary files may increase the total speed. Technically, it is easy to implement the feature in PAR clients. The problem is free space (available size) of the fast drive. Temporary files are possible to becomes large as same size as all source files.

 While repair, "work file" is constructed from available blocks in "damaged file", or is newly created for "missing file" temporary. Even if 1KB of a 100MB file is damaged, the size of "work file" becomes same as original file size (100MB).

 For example, there are 6 source files (100MB x6) and 2 PAR files (100MB x2). When 2 source files are partially damaged and 1 file is lost completely, 3 files need to be reconstructed, and 3 work files are created temporary.

Source files:
"complete file 1"
"complete file 2"
"complete file 3"
"damaged file 1" -> "work file 1"
"damaged file 2" -> "work file 2"
"missing file 1" -> "work file 3"

 After successful repair, those "work files" will replace "damaged/missing files". So, the max possible required size of a fast drive is "total size of damaged/missing files". This would be same as "total size of source files". If free space of a fast drive is smaller, it is useless. For example, 1GB RAM drive is worthless to repair 2GB damaged files.

 Now questions are your typical data size and drive size in PC. How is your total size of source files ? If you use a fast drive for temporary files, how is the free space ? Will you set a folder for temporary file on Option window, if I implement this feature ? or OS's temporary folder should be used by default ? Do you have time to test the speed, when I will make samples ?
Logged
persicum
Serious Business
***

Karma: +2/-1
Offline Offline

Posts: 122


« Reply #1 on: 2011 Oct 29, 11:32:01 am »

I cannot understand... Should you copy temporary files from "fast" working drive to "slow" destination drive after repairing? So there will be not much benefit...
Logged
Pages: 1   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.067 seconds with 18 queries.