xfsrepair memory consumption
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Barry Naujok
This could be libxfs caching in action.
Another option you can try is:
-o bhash=256
Also, -M and -P options may reduce memory consumption. I recommend -M (I'm in the middle of making that default).
Hi Barry,
In the previous test I already used the -M option (no thread). Using also -P and -o bhash=256 make the memory usage of the new version of xfs_repair close to the old version with no option for phases 1-5.
This is really useful.
Phase 6 still uses little more memory (killed!).
I will add more memory and will test later.
Thanks,
Daniele P.
Quoted 2 lines · Daniele P.
Phase 6 still uses little more memory (killed!).
I will add more memory and will test later.
Stupid question (Sorry, I didn't read the thread that carefully), is there any reason you can't just add swap-space and let it thrash a little?
Quoted 7 lines · Chris Wedgwood
Quoted 2 lines · Daniele P.
Phase 6 still uses little more memory (killed!).
I will add more memory and will test later.Stupid question (Sorry, I didn't read the thread that carefully), is there any reason you can't just add swap-space and let it thrash a little?
Oh, it's less expensive (less typing) to add ram because it's a virtual machine.
Finally using the 2.8.20-1 version requires 1 GB of memory vs 750 MB for 2.6.20-1.
Next time I will add more swap by default.
Regards,
Daniele P.