Hi,<br><br>Cluster running Lustre 1.6.6<br>Opening and closing files takes longer on RHEL5 than on RHEL4. This is only happens with files located on Lustre file system. To reproduce this problem I used small c code (located on the bottom of my email). <br>
Is this a known problem?<br><br><span style="font-family: courier new,monospace;">RH4</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
====</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    6m24.951s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m1.113s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m43.983s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    3m21.464s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m1.011s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m41.795s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    3m15.305s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m0.685s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m34.321s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    3m52.444s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m1.073s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m41.246s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
RH5</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
====</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    6m56.701s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m0.602s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m52.233s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    5m28.310s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m0.613s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m48.284s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    5m19.244s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m0.555s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sys     0m44.684s</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
real    6m9.290s</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
user    0m0.613s</span><br><br><br>openclose.c<br>======<br>#include <stdio.h><br>#include <stdlib.h><br><br>int openClose() {<br>  FILE *fp;<br><br>  if((fp = fopen("test.dat", "w+")) == NULL) {<br>
    printf("open error\n");<br>    exit(1);<br>  }<br><br>  if( fclose( fp )) {<br>    printf("close error\n");<br>  }<br><br>  return 0;  <br>}<br><br>int main(void) {<br>  int i;<br>  for(i = 0; i < 300000; i++) {<br>
    openClose();<br>  }<br>}<br clear="all"><br>-- <br>--<br>Wojciech Turek<br><br>Assistant System Manager<br><br>High Performance Computing Service<br>University of Cambridge<br>Email: <a href="mailto:wjt27@cam.ac.uk">wjt27@cam.ac.uk</a><br>
<br>