Displaying 2 results from an estimated 2 matches for "250e6".
Did you mean:
250,6
2011 Mar 12
3
wich filesystem to store > 250E6 small files in same or hashed dire
Hi
I need to store about 250.000.000 files. Files are less than 4k.
On a ext4 (fedora 14) the system crawl at 10.000.000 in the same directory.
I tried to create hash directories, two level of 4096 dir = 16.000.000
but I had to stop the script to create these dir after hours
and "rm -rf" would have taken days ! mkfs was my friend
I tried two levels, first of 4096 dir, second of 64
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...hed.c 2011-05-31 13:36:47.000000000 +0300
+++ b/clients/upssched.c 2011-08-17 00:40:17.000000000 +0300
@@ -652,7 +652,7 @@ static int check_parent(const char *cmd,
unlink(lockfn);
/* give the other one a chance to start it, then try again */
- usleep(250000);
+ struct timespec delay = {0, 250e6}; nanosleep(&delay, NULL);
}
upslog_with_errno(LOG_ERR, "Failed to connect to parent and failed to create parent");
@@ -705,7 +705,7 @@ static void sendcmd(const char *cmd, con
if (pipefd == PARENT_STARTED) {
/* loop back and try to connect now */
- usleep(250000);
+...