Install - New Create Files , Directories for Program Checking


There is a need to create files and directories and determine how long the process of creating files and directories take:
This program:


Menu heading
U
tilities
Sub menu Install - New Create Files , Directories for Program Checking


Description

Opening Screen showing Linux and Windows Screens side by side

The Linux Screen differs from the Windows screen:

    Linux WINE NT rather than NT
    There is no drive information
Operating System Linux Windows
Edit Box Entry Linux WINE NT NT
Drive details none
  • List of available drives,
  • Drive Sector Size,
  • Cluster Size
  • Drive Space
  • Available Drive Space (Space Left)
 



The screen shots have been done with the program running under Linux WINE






Buttons and Drop Down Lists

Type



0 Bytes List Box choice of how many files of 0 bytes in size are created
1 Byte
choice of how many files of 1 bytes in size are created
1 to 100 Bytes (Read Write)
choice of how many read write files varying in size from 1 to 100 Bytes are created

1 to 100 Bytes (Read Only)
choice of how many read only files varying in size from 1 to 100 Bytes are created
Multiextension - 1 to 100 Bytes
choice of how many read write files varying in size from 1 to 100 Bytes are created with a different extension
variable long name - (1-100 Bytes)
choice of:
  • number of files
  • text character in extension
  • Number of characters in extension
  • size of file varies from 0 Bytes up to 99 bytes


variable long name - (0 Bytes)
choice of:
  • number of files
  • text character in extension
  • Number of characters in extension
  • size of file 0 Bytes



Size in Bytes with controlled Slack Space
problem

1 MByte and above with controlled Slack Space
problem

Create Disk Cache File - "cache.file"
problem

create SHA Check Files (9,964,584 Bytes)
Creates:
  • a set of standard files
    • a.txt size 5,000
    • ab.txt size 1,000,000
    • abc.txt size 1,500,000
    • b.txt size 5,000
    • bc.txt size 1,000,000
    • bcd.txt size 1,500,000
    • c.txt size 5,000
    • cd.txt size 1,000,000
    • cde.txt size 1,500,000
    • testfile.txt size 2,228,890
    • testfilesmall.txt size 218,890
  • SHA0 values of above standard files
  • SHA1 values of above standard files

create SHA Check Files (19,929,168 Bytes)
creates:
  • files listed above in selected directory
  • files listed above in subdirectory named "Second" of selected directory

Create Many Empty Directories
choice of how many empty directories to create

Create 20 Directories, 17 Empty, 3 with 5 files each
Creates:
  • 17 empty Directories
  • 3 Directories containing 5 files
    • 0nf.file Size 1 Byte
    • 1nf.file Size 1 Byte
    • 2nf.file Size 1 Byte
    • 3nf.file Size 1 Byte
    • 4nf.file Size 1 Byte

Create many Empty Directories - variable name
Creates: number of Empty Directories
  •   First
    • selected length of name
    • selected character in name
  • Second
    • select number of directories
Example shows 10 directories with name containing 200 characters of B



Create 30 1 Byte Unicode Files in empty directory
Creates 30 files with a Unicode Name of size 1 byte. The names are made by increasing the unicode value of the first character by 1 after each file creation
  • First name "ダチヂッツ.und"
  • Second Name "チチヂッツ.und"
  • Third name "ヅチヂッツ.und"

    
    
    
    
    
Unicode value of first name five characters is:
character
Position
Hexidecimal
Value
Decimal
Value
1 30C0 12480
2 30C1 12481
3 30C2 12482
4 30C3 12483
5 30C4 12484
. 2E 46
u 75 117
n 6E 110
d 64 100
Create 2 Files 2,228,890 in Size each different
Creates two different files of 2,228,890 Bytes


Buttons and Drop Down Lists

Function
Number files Created Example of Result Clipboard
0 Bytes choice of how many files of 0 bytes in size are created 30
0 Bytes
Z:\home\john\ram\New Folder 2
Before 33,305,915,392
After 33,305,915,392
Calculated 9,280
Taken 0
Difference 9,280
Time taken in milliseconds 16
1 Byte choice of how many files of 1 bytes in size are created 30
1 Byte
Z:\home\john\ram\New Folder 2
Before 33,305,915,392
After 33,305,792,512
Calculated 132,160
Taken 122,880
Difference 9,280
Time taken in milliseconds 17
1 to 100 Bytes (Read Write) choice of how many read write files varying in size from 1 to 100 Bytes are created
40
1 to 100 Bytes (Read Write)
Z:\home\john\ram\New Folder 2
Before 33,305,784,320
After 33,305,624,576
Calculated 176,320
Taken 159,744
Difference 16,576
Time taken in milliseconds 25
1 to 100 Bytes (Read Only) choice of how many read only files varying in size from 1 to 100 Bytes are created 40
1 to 100 Bytes (Read Only)
Z:\home\john\ram\New Folder 2
Before 33,305,616,384
After 33,305,456,640
Calculated 176,320
Taken 159,744
Difference 16,576
Time taken in milliseconds 26
Multiextension - 1 to 100 Bytes choice of how many read write files varying in size from 1 to 100 Bytes are created with a different extension 30
Multiextension - 1 to 100 Bytes
Z:\home\john\ram\New Folder 2
Before 33,305,448,448
After 33,305,329,664
Calculated 130,240
Taken 118,784
Difference 11,456
Time taken in milliseconds 6
variable long name - (1-100 Bytes) choice of:
  • number of files
  • text character in extension
  • Number of characters in extension
  • size of file varies from 0 Bytes up to 99 bytes
30
variable long name - (1-100 Bytes)
Z:\home\john\ram\New Folder 2
Before 33,305,321,472
After 33,305,202,688
Calculated 136,000
Taken 118,784
Difference 17,216
Time taken in milliseconds 23
variable long name - (0 Bytes) choice of:
  • number of files
  • text character in extension
  • Number of characters in extension
  • size of file 0 Bytes




Size in Bytes with controlled Slack Space problem



1 MByte and above with controlled Slack Space problem



Create Disk Cache File - "cache.file" problem



create SHA Check Files (9,964,584 Bytes) Creates:
  • a set of standard files
    • a.txt size 5,000
    • ab.txt size 1,000,000
    • abc.txt size 1,500,000
    • b.txt size 5,000
    • bc.txt size 1,000,000
    • bcd.txt size 1,500,000
    • c.txt size 5,000
    • cd.txt size 1,000,000
    • cde.txt size 1,500,000
    • testfile.txt size 2,228,890
    • testfilesmall.txt size 218,890
  • SHA0 values of above standard files
  • SHA1 values of above standard files


create SHA Check Files (9,964,584 Bytes)
Z:\home\john\ram\New Folder 2
Before 33,316,003,840
After 33,305,923,584
Calculated 10,074,144
Taken 10,080,256
Difference 6,112
Time taken in milliseconds 874
create SHA Check Files (19,929,168 Bytes) creates:
  • files listed above in selected directory
  • files listed above in subdirectory named "Second" of selected directory
62 files
1 directory

create SHA Check Files (19,929,168 Bytes)
Z:\home\john\ram\New Folder
Before 33,336,172,544
After 33,316,012,032
Calculated 20,148,064
Taken 20,160,512
Difference 12,448
Time taken in milliseconds 639
Create Many Empty Directories choice of how many empty directories to create


Create Many Empty Directories
Z:\home\john\ram\New Folder 2
Before 33,305,182,208
After 33,305,182,208
Calculated 9,280
Taken 0
Difference 9,280
Time taken in milliseconds 39
Create 20 Directories, 17 Empty, 3 with 5 files each Creates:
  • 17 empty Directories
  • 3 Directories containing 5 files
    • 0nf.file Size 1 Byte
    • 1nf.file Size 1 Byte
    • 2nf.file Size 1 Byte
    • 3nf.file Size 1 Byte
    • 4nf.file Size 1 Byte


Create 20 Directories, 17 Empty, 3 with 5 files each
Z:\home\john\ram\New Folder 2
Before 33,305,174,016
After 33,305,112,576
Calculated 65,920
Taken 61,440
Difference 4,480
Time taken in milliseconds 28
Create many Empty Directories - variable name Creates: number of Empty Directories
  •   First
    • selected length of name
    • selected character in name
  • Second
    • select number of directories
Example shows 10 directories with name containing 200 characters of B


Create 30 1 Byte Unicode Files in empty directory
Z:\home\john\ram\New Folder 2
Before 33,305,104,384
After 33,304,981,504
Calculated 124,800
Taken 122,880
Difference 1,920
Time taken in milliseconds 16



Create 30 1 Byte Unicode Files in empty directory Creates 30 files with a Unicode Name of size 1 byte. The names are made by increasing the unicode value of the first character by 1 after each file creation
  • First name "ダチヂッツ.und"
  • Second Name "チチヂッツ.und"
  • Third name "ヅチヂッツ.und"

    
    
    
    
    

Create 30 1 Byte Unicode Files in empty directory
Z:\home\john\ram\New Folder 2
Before 33,305,104,384
After 33,304,981,504
Calculated 124,800
Taken 122,880
Difference 1,920
Time taken in milliseconds 16
Create 2 Files 2,228,890 in Size each different Creates two different files of 2,228,890 Bytes

Create 2 Files 2,228,890 in Size each different
Z:\home\john\ram\New Folder 2
Before 33,304,973,312
After 33,304,973,312
Calculated 4,464,768
Taken 0
Difference 4,464,768
Time taken in milliseconds 10




Example of Result Clipboard
Slack Space inquiry Under Linux or Windows it provides a check to see what the Cluster size is for a particular directory
Z:\home\john\ram\New Folder 2
Difference in Disk space 5 Files added one by one and then deleted one by one

File 1 diff 4096 Add File
File 2 diff 4096 Add File
File 3 diff 4096 Add File
File 4 diff 4096 Add File
File 5 diff 4096 Add File
File 6 diff 4096 Delete File
File 7 diff 4096 Delete File
File 8 diff 4096 Delete File
File 9 diff 4096 Delete File
File 10 diff 4096 Delete File
33,304,952,832
33,304,948,736
33,304,944,640
33,304,940,544
33,304,936,448
33,304,936,448
33,304,940,544
33,304,944,640
33,304,948,736
33,304,952,832