Documentation copy and large files

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Oct 18, 2008
265
1
#1
Hello -- I was copying a large file, say vmdk or vhd which was over 80gb -- at some point tcc started to consume most of the cpu -- is there a way to throttle a copy/move operation?
 

rconn

Administrator
Staff member
May 14, 2008
10,292
90
#2
Hello -- I was copying a large file, say vmdk or vhd which was over 80gb -- at some point tcc started to consume most of the cpu -- is there a way to throttle a copy/move operation?
It's not TCC, it's Windows. TCC calls the Windows CopyFileEx API to do file copies.

There's one way to get the CopyFileEx API to give back some of its time -- if you use the /G (percent copied) option, TCC will yield to other pending processes after each update callback from Windows.
 
Oct 18, 2008
265
1
#3
Hello -- Thanks for the info -- I was using the /g option -- it was cranking at about 50,000 kb/s -- towards the then end of the copy it was consuming most of the cpu -- a suggestion would be
to add a /w option to "wait" some time before the next r/w operation. Thx