[LU-7828] Traversal directory is very slow Created: 01/Mar/16 Updated: 06/Jun/17 Resolved: 29/Mar/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0, Lustre 2.8.0 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | nasf (Inactive) | Assignee: | nasf (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Some customer found that: #!/bin/bash for ((i=0;i<2583;i++)); do dd if=/dev/zero of=file$i.dat bs=1024 count=400 > /dev/null 2>&1 done for ((i=0;i<20;i++)); do (time ls -F > /dev/null) >> lscheck.txt done rm -f file*.dat echo "" cat lscheck.txt rm -f lscheck.txt exit Above test is just repeating "ls -F" 10 times after 2583 file creation. This is 100% reproducable and we trying strace or ftrace to find where is most highest cost of system call. But, the problem only reproduced on the Lustre.. |
| Comments |
| Comment by nasf (Inactive) [ 01/Mar/16 ] |
|
Here is the the patch: |
| Comment by Gerrit Updater [ 28/Mar/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/18499/ |
| Comment by Joseph Gmitter (Inactive) [ 29/Mar/16 ] |
|
Landed for 2.9.0 |