search for: 100e6

Displaying 3 results from an estimated 3 matches for "100e6".

Did you mean: 1006
2010 Jul 23
2
rsync to iSCSI over WAN
I am running rsync in cygwin on windows. I am attempting to backup a somewhat large data store (750GB) to a remote site. As its windows and preserving permissions exactly is important, I have an iSCSI drive mounted on the local system across a somewhat slow WAN link (IE, it would take about 3 months to copy the datastore over it). Unfortunately, since this appears as a "local" copy to
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...rivers/safenet.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/safenet.c 2011-08-17 00:40:17.000000000 +0300 @@ -299,7 +299,7 @@ void upsdrv_initinfo(void) dstate_setinfo("driver.version.internal", "%s", DRIVER_VERSION); - usleep(100000); + struct timespec delay = {0, 100e6}; nanosleep(&delay, NULL); /* * Very crude hardware detection. If an UPS is attached, it will set DSR Index: b/drivers/powerpanel.c =================================================================== --- a/drivers/powerpanel.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/powerpanel....
2013 May 25
2
Assigning NULL to large variables is much faster than rm() - any reason why I should still use rm()?
...eping the memory footprint small, I can equally well reassign the variable the value of a small object (e.g. a <- NULL), which is significantly faster than using rm(). SOME BENCHMARKS: A toy example imitating an iterative algorithm with "large" temporary objects. x <- matrix(rnorm(100e6), ncol=10e3) t1 <- system.time(for (k in 1:ncol(x)) { a <- x[,k] colSum <- sum(a) rm(a) # Not needed anymore b <- x[k,] rowSum <- sum(b) rm(b) # Not needed anymore }) t2 <- system.time(for (k in 1:ncol(x)) { a <- x[,k] colSum <- sum(a) rm(list="a&quo...