Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

@edgargabriel
Copy link
Member

…fs module. Takes now also the MPI_Info object into consideration.

Conflicts:
ompi/mca/fs/lustre/fs_lustre_file_open.c

…fs module. Takes now also the MPI_Info object into consideration.

Conflicts:
	ompi/mca/fs/lustre/fs_lustre_file_open.c
@rhc54 rhc54 added this to the v2.0.0 milestone Jul 14, 2015
@hppritcha
Copy link
Member

@edgargabriel do we have a test that I could run to check out this feature?

@edgargabriel
Copy link
Member Author

the way I tested it was to take a simple MPI_File I/O test which creates a new file, run on it lustre. If you set the mca parameter e.g.

mpirun --mca fs_lustre_stripe_size 8 -np x ./mytest

and verify with

lfs getstripe 'name of output file'

you should see the the file has the stripe size that you set. I tested it on the Lustre Cray system in Stuttgart, and it seemed to work. If you want, I can provide a trivial MPI file I/O test code for that.

@hppritcha
Copy link
Member

simple enough. I'll try that approach. Odd that IU jenkins tests got triggered by my comment.

@edgargabriel
Copy link
Member Author

maybe I should add a testcase to my testsuite, where we do that through an info object. That could be done semi-automatic in that case.

@edgargabriel
Copy link
Member Author

btw, the real problem that this commit fixes was, that the previous code version did not use the system defaults if the user did not specify the parameters, we basically always overwrote the system settings. I suspect that this was one of the contributors to the read performance problem that Fujitsu observed. This fix should keep now the system settings if the user does not specify anything.

@hppritcha hppritcha self-assigned this Jul 18, 2015
@hppritcha
Copy link
Member

Edgar, works for me if I use a stripe size thats a multilpe of 64KB. So I had to use
mpirun --mca fs_lustre_stripe_size 1048576 -np 1 ./file_open
as a test.

I'm assuming your example with '8' left out a qualifier like 'M'.

@edgargabriel
Copy link
Member Author

sorry, I think my example was meant to be stripe_count, where I force lustre to use 8 servers. Not the stripe size

@hppritcha
Copy link
Member

@jsquyres I'll let you approve and merge.

jsquyres added a commit that referenced this pull request Jul 23, 2015
fix the logic for setting stripe size and stripe count in the lustre …
@jsquyres jsquyres merged commit c29a210 into open-mpi:v2.x Jul 23, 2015
@edgargabriel
Copy link
Member Author

@hppritcha and @jsquyres I found the issue that lead to the lustre problem, and I have a fix, the vast majority of tests pass now on lustre (except for the new file_delete test, need to double check). Should I file a new pr or issue, or is there a way to reopen this one?

@jsquyres
Copy link
Member

Make a new PR; this one has already been merged, so it's effectively done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants