sorry to go OT here.
But why does it take soo much longer for many smaller files than one big file?
I don't understand how that works or am i just slow? or don't understand the whole process of copying?
Interesting question. Basically there are a series of commands that take place every time you perform a file copy routine. If the file is 1k then you would perform these commands (lets say 40 steps), and a single read/write command to copy the file.
If your file was 100MB then you would still do the 40 steps previously mentioned, and an additional 100 read/write commands to actually copy the file. Thus, 100000 small files of 1k (totalling 100MB rounded off) comprises 100000 mandatory steps, and 100000 "copy" steps. 1 x 100mb file comprises 40 mandatory steps and 100 "copy steps".
So the difference is between 200000 steps versus 140.
The output below is what happens when you copy a 2MB jpeg. This is just the file copy portion, you also have additional steps such as AV scans, ACL updates, thumbnail creation, RAM cache etc.
Time of Day Process Name PID Operation Path Result Detail Sequence
07:52.1 Explorer.EXE 1852 QueryAttributeInformationVolume C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "FileSystemAttributes: Case Preserved, Case Sensitive, Unicode, ACLs, Compression, Named Streams, EFS, Object IDs, Reparse Points, Sparse Files, Quotas, Transactions, 0x3c00000, MaximumComponentNameLength: 255, FileSystemName: NTFS" n/a
07:52.1 Explorer.EXE 1852 QueryBasicInformationFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "CreationTime: 2009/11/23 12:22:03 PM, LastAccessTime: 2009/11/23 12:22:03 PM, LastWriteTime: 2009/11/23 12:22:04 PM, ChangeTime: 2009/11/23 12:22:04 PM, FileAttributes: N" n/a
07:52.1 Explorer.EXE 1852 CreateFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Desired Access: Generic Read/Write, Write DAC, Disposition: Create, Options: Sequential Access, Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: None, AllocationSize: 0, OpenResult: Created" n/a
07:52.1 Explorer.EXE 1852 QueryBasicInformationFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "CreationTime: 2009/11/29 09:07:52 PM, LastAccessTime: 2009/11/29 09:07:52 PM, LastWriteTime: 2009/11/29 09:07:52 PM, ChangeTime: 2009/11/29 09:07:52 PM, FileAttributes: A" n/a
07:52.1 Explorer.EXE 1852 QueryStandardInformationFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "AllocationSize: 1Ă‚*802Ă‚*240, EndOfFile: 0, NumberOfLinks: 1, DeletePending: False, Directory: False" n/a
07:52.1 Explorer.EXE 1852 QueryAttributeInformationVolume C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "FileSystemAttributes: Case Preserved, Case Sensitive, Unicode, ACLs, Compression, Named Streams, EFS, Object IDs, Reparse Points, Sparse Files, Quotas, Transactions, 0x3c00000, MaximumComponentNameLength: 255, FileSystemName: NTFS" n/a
07:52.1 Explorer.EXE 1852 QueryBasicInformationFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "CreationTime: 2009/11/29 09:07:52 PM, LastAccessTime: 2009/11/29 09:07:52 PM, LastWriteTime: 2009/11/29 09:07:52 PM, ChangeTime: 2009/11/29 09:07:52 PM, FileAttributes: A" n/a
07:52.1 Explorer.EXE 1852 QueryStreamInformationFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS 0: ::$DATA n/a
07:52.1 Explorer.EXE 1852 QueryEaInformationFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS EaSize: 0 n/a
07:52.1 Explorer.EXE 1852 QueryBasicInformationFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "CreationTime: 2009/11/23 12:22:03 PM, LastAccessTime: 2009/11/23 12:22:03 PM, LastWriteTime: 2009/11/23 12:22:04 PM, ChangeTime: 2009/11/23 12:22:04 PM, FileAttributes: N" n/a
07:52.1 Explorer.EXE 1852 QueryStandardInformationFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "AllocationSize: 1Ă‚*802Ă‚*240, EndOfFile: 1Ă‚*798Ă‚*713, NumberOfLinks: 1, DeletePending: False, Directory: False" n/a
07:52.1 Explorer.EXE 1852 QuerySizeInformationVolume C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "TotalAllocationUnits: 19Ă‚*535Ă‚*032, AvailableAllocationUnits: 339Ă‚*917, SectorsPerAllocationUnit: 8, BytesPerSector: 512" n/a
07:52.1 Explorer.EXE 1852 QuerySizeInformationVolume C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "TotalAllocationUnits: 19Ă‚*535Ă‚*032, AvailableAllocationUnits: 339Ă‚*917, SectorsPerAllocationUnit: 8, BytesPerSector: 512" n/a
07:52.1 Explorer.EXE 1852 SetEndOfFileInformationFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS EndOfFile: 1Ă‚*798Ă‚*713 n/a
07:52.1 Explorer.EXE 1852 ReadFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "Offset: 0, Length: 262Ă‚*144, Priority: Normal" n/a
07:52.1 Explorer.EXE 1852 ReadFile C:\Users\PC\Desktop
07:52.3 Explorer.EXE 1852 ReadFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*310Ă‚*720, Length: 262Ă‚*144" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*310Ă‚*720, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*376Ă‚*256, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*441Ă‚*792, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*507Ă‚*328, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 ReadFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*572Ă‚*864, Length: 225Ă‚*849" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*572Ă‚*864, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*638Ă‚*400, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*703Ă‚*936, Length: 65Ă‚*536" n/a
07:52.4 Explorer.EXE 1852 WriteFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "Offset: 1Ă‚*769Ă‚*472, Length: 29Ă‚*241" n/a
07:52.4 Explorer.EXE 1852 CloseFile C:\Users\PC\Desktop\100CANON\IMG_0262.JPG SUCCESS n/a
07:52.4 Explorer.EXE 1852 SetBasicInformationFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS "CreationTime: 1601/01/01 02:00:00 AM, LastAccessTime: 1601/01/01 02:00:00 AM, LastWriteTime: 2009/11/23 12:22:04 PM, ChangeTime: 1601/01/01 02:00:00 AM, FileAttributes: n/a" n/a
07:52.4 Explorer.EXE 1852 CloseFile C:\Users\PC\Desktop\100CANON - Copy (3)\IMG_0262.JPG SUCCESS n/a