Skip to content

Should io500.sh be updated to look for the pfind parameters ?  #69

@pvaldria

Description

@pvaldria

Current version is not looking for most of the parameters which can be set for the io500 C app version.
https://github.com/VI4IO/io500-app/blob/e4c73effae9657a6b4ef79319a2840ee756af223/io500.sh#L224

The io500 C-app version config file allows:

[find]
# Set to an external script to perform the find phase
external-script = 
# Extra arguments for external scripts
external-extra-args = 
# Startup arguments for external scripts
external-mpi-args = 
# Set the number of processes for pfind
nproc = 
# Pfind queue length
pfind-queue-length = 10000
# Pfind Steal from next
pfind-steal-next = FALSE
# Parallelize the readdir by using hashing. Your system must support this!
pfind-parallelize-single-dir-access-using-hashing = FALSE

As a workaround, I manually added the below:
In io500.sh script:

function setup_find {
  io500_find_mpi="True"
  io500_find_cmd_args="-N -q 2000 -s $io500_stonewall_timer -r $io500_result_dir/pfind_results"
 
Non-C version  - success
[Starting] find
[Exec] mpiexec --allow-run-as-root -mca btl self -x UCX_TLS=rc,self,sm -x HCOLL_ENABLE_MCAST_ALL=0 -mca coll_hcoll_enable 0 -x UCX_IB_TRAFFIC_CLASS=105 -x UCX_IB_GID_INDEX=3 -n 30 -npernode 10 --hostfile /mnt/beeond/hostsfile.cn /mnt/beeond/io500-app/bin/pfind ./out//2020.06.01-06.57.23-scr -newer ./out//2020.06.01-06.57.23-scr/timestampfile -size 3901c -name "*01*" -N -q 2000 -s 300 -r ./results//2020.06.01-06.57.23-scr/pfind_results
[Results] in ./results//2020.06.01-06.57.23-scr/find.txt.
[FIND] MATCHED 28170/15966876 in 44.6593 seconds
[RESULT] IOPS phase 3                      find              357.520 kiops : time  44.66 seconds
 
io500 – C version hangs at the below command and I don’t see queue length, steal-next, etc
[find]
t_start         = 2020-06-01 08:28:30
exe             =  /mnt/beeond/io500-app/bin/pfind  ./out//2020.06.01-06.57.23-app -newer ./out//2020.06.01-06.57.23-app/timestampfile -size 3901c -name "*01*"
nproc           = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions