Renaming copies entire file?

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
AVE160
Junior Member
Junior Member
Posts: 12
Joined: 2005-03-27, 12:02 UTC

Renaming copies entire file?

Post by *AVE160 »

On several occasions I had a large file, split into smaller portions.
After combining I immediately renamed the outcoming .out file, and had to wait a significant amount of time for it to complete, with a lot of disk activity.
So it looked if the file was copied to a new file instead of renaming.

However on several occasions I did not have this behaviour, I do not have a scenario.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Lots of disk activity can also occur on windows swapping. If the memory status is low, windows swaps the unused parts to disk. You just have split large files, this involves memory consumption, which causes other memory parts get swapped out. The rename function requests those parts, so windows has to swap the memory back.
Just an idea.
I switched to Linux, bye and thanks for all the fish!
AVE160
Junior Member
Junior Member
Posts: 12
Joined: 2005-03-27, 12:02 UTC

Post by *AVE160 »

Yes, that is very well possible.
But I only recently noticed it, never before and I do have combined large files before.
Could be that my pc is near it's end, have to consider that as well :evil:
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

...or perhaps the disk is just heavily fragmented.
Post Reply