Displaying 20 results from an estimated 40000 matches similar to: "[PATCH nbdkit] streaming plugin: Add support for a sliding window"
2020 Mar 17
0
Re: [PATCH nbdkit v2] New tmpdisk plugin.
On 3/17/20 3:53 AM, Richard W.M. Jones wrote:
> This can be used for creating temporary disks to thin clients, as a
> kind of "remote tmpfs".
>
> See also:
> https://www.redhat.com/archives/libguestfs/2020-March/msg00134.html
> ---
> +++ b/plugins/tmpdisk/nbdkit-tmpdisk-plugin.pod
> @@ -0,0 +1,157 @@
> +=head1 NAME
> +
> +nbdkit-tmpdisk-plugin - create
2019 Apr 10
0
ANNOUNCE: nbdkit 1.12 - an NBD server toolkit with stable plugin API and permissive license
I’m pleased to announce the next stable release of nbdkit. This
release concentrates on numerous feature enhancements - see the
release notes below.
NBD — Network Block Device — is a protocol for accessing Block Devices
(hard disks and disk-like things) over a Network. nbdkit is a toolkit
for creating NBD servers.
The key features are:
* Multithreaded NBD server written in C with good
2007 May 15
0
sliding window approach
Dear all,
I would like to know if there is any R package that uses a sliding window approach to assess statistical significance out of my data. My data is composed of DNA sequences (of variable length) that are mapped to a genome with a determined score of alignment.
So, I want to see if I can find more tags in a given region of the genome as opposed to finding them by chance. In this sliding
2020 Mar 17
2
[PATCH nbdkit v2] New tmpdisk plugin.
This can be used for creating temporary disks to thin clients, as a
kind of "remote tmpfs".
See also:
https://www.redhat.com/archives/libguestfs/2020-March/msg00134.html
---
plugins/data/nbdkit-data-plugin.pod | 1 +
plugins/file/nbdkit-file-plugin.pod | 1 +
plugins/linuxdisk/nbdkit-linuxdisk-plugin.pod | 7 +-
plugins/memory/nbdkit-memory-plugin.pod |
2008 Mar 25
0
Extracting maximums from a sliding window
Dear all, I am having some problems with the folowing task and would
appreciate any thoughts on the matter.
I have a sliding window time series of rainfall. This is 24 hour window
created from an hourly record. Every hour, a new twenty four hour total
is calculated. I would like to extract the Top 50 twenty four hour
totals however I have a problem.
Simply ranking the sliding window time
2020 Apr 09
0
[PATCH nbdkit v2 3/3] tmpdisk: Implement this plugin using fileops.
This plugin now implements efficient zeroing, pre-fetch and extents,
which should give quite a performance boost.
XXX
On the flip side, it no longer ignores flush and FUA (which we can
ignore because these are temporary disks), which very likely has a
large negative impact on performance. Fixing this would involve
generalising fileops a little.
---
plugins/tmpdisk/Makefile.am | 2 +
2019 Jan 22
0
Re: [PATCH nbdkit v2 1/4] partitioning plugin: Support MBR logical partitions.
On Tue, Jan 22, 2019 at 02:57:33PM -0600, Eric Blake wrote:
> On 1/21/19 12:15 PM, Richard W.M. Jones wrote:
> > ---
> > .../nbdkit-partitioning-plugin.pod | 29 ++--
> > plugins/partitioning/virtual-disk.h | 12 +-
> > plugins/partitioning/partition-mbr.c | 132 +++++++++++++++---
> > plugins/partitioning/partitioning.c |
2008 Jan 24
1
Sliding Window Time Series Analysis - hourly rainfall
I have a time series of rainfall in a dataframe. I would like to be
able to aggregate this using a sliding window approach- i.e. a new 24
hourly total is calculated for each hours rainfall. I'm struggling to
understand how this might be achieved - currently I've tried looping a
sum function to re-calculate a new total at every stage of the loop.
for (inp[[9]] in
2009 Mar 30
2
Sliding window over irregular intervals
Dear all,
I have some very big data files that look something like this:
id chr pos ihh1 ihh2 xpehh
rs5748748 22 15795572 0.0230222 0.0268394 -0.153413
rs5748755 22 15806401 0.0186084 0.0268672 -0.367296
rs2385785 22 15807037 0.0198204 0.0186616 0.0602451
rs1981707 22 15809384 0.0299685 0.0176768 0.527892
rs1981708 22 15809434 0.0305465 0.0187227 0.489512
rs11914222 22 15810040 0.0307183
2012 Mar 03
1
Sliding Window in R (solved)
Dear all,
you can find below my solution for sliding a window. Please find below the code for the two alternatives and the benchmarks.
install.packages('caTools')
require(caTools)
do_sliding_for_a_window_duty_cycle <- function(DataToAnalyse, windowSize) {
data<-DataToAnalyse
out <- numeric()
elements<- numeric()
if (length(data[,1]) >= windowSize){
for
2010 Jul 07
3
use sliding window to count substrings found in large string
Hello together,
I'm looking for advice on how to do some tests on strings.
What I want to do is the following:
(just an example, real strings/sequence are about 200-400 characters long)
given set of Strings:
String1 abcdefgh
String2 bcdefgop
use a sliding window of size x to create an vector of all subsequences
of size x
found in the set (order matters! ).
Now create, for every string
2015 Oct 20
0
Re: Extlinux with guestfish
On Tue, Oct 20, 2015 at 04:40:09PM +0100, slim tabka wrote:
> Hi everyone,
>
> I'm working with libguestfs 1.30.3 on Centos 7 host.
> I encountered a problem when I wanted to install extlinux with guestfish as
> a bootloader for my guests and I always get this error:
>
> SYSLINUX 4.05 EDD 0x54f93f16 Copyright (C) 1994-2010 H. Peter Anvin et al
> ERROR: No
2020 Apr 07
0
[PATCH nbdkit v2] tmpdisk: Pass any parameters as shell variables to the command.
This allows us to be much more flexible about what commands can be
used. It also means we do not need to encode any special behaviour
for type or label parameters.
---
plugins/tmpdisk/nbdkit-tmpdisk-plugin.pod | 91 +++++++++-----
plugins/tmpdisk/tmpdisk.c | 147 ++++++++++++++--------
plugins/tmpdisk/default-command.sh.in | 6 +
3 files changed, 164 insertions(+), 80
2020 Apr 04
0
[PATCH nbdkit 2/2] tmpdisk: Pass any parameters as shell variables to the command.
This allows us to be much more flexible about what commands can be
used. It also means we do not need to encode any special behaviour
for type or label parameters.
XXX
However one problem which is not addressed here: The $disk passed to
the shell script fragment must be updated, not replaced. This is
because currently the plugin has a file descriptor opened on this
file. If it is deleted by
2020 Mar 17
2
[PATCH nbdkit v3] New tmpdisk plugin.
v2 was here:
https://www.redhat.com/archives/libguestfs/2020-March/msg00154.html
v3:
- Micro-optimize tmpdir.
- Quote $disk in default command shell fragment.
- Don't redirect mkfs output to /dev/null. Instead use
exec </dev/null >/dev/null before the shell fragment.
We may want to do this in other places where we run
external shell scripts, or more generally for all
2020 Aug 14
2
[PATCH nbdkit] New ondemand plugin.
This creates filesystems on demand. A client simply connects with a
desired export name and a new export is created. The export is
persistent (until deleted by the server admin), and clients may
disconnect and reconnect. In some respects this is similar to the
nbdkit-tmpdisk-plugin, or nbdkit-file-plugin with the dir= option.
---
plugins/ondemand/nbdkit-ondemand-plugin.pod | 190 ++++++
2020 Apr 04
0
[PATCH nbdkit 1/2] tmpdisk: Generate the default command from a shell script fragment.
Neutral refactoring. Makes the code a bit easier to handle and
simplifies future commits.
---
plugins/tmpdisk/Makefile.am | 17 ++++++++-
plugins/tmpdisk/tmpdisk.c | 22 +++---------
plugins/tmpdisk/default-command.sh.in | 51 +++++++++++++++++++++++++++
.gitignore | 1 +
4 files changed, 72 insertions(+), 19 deletions(-)
diff --git
2019 Jan 18
0
ANNOUNCE: nbdkit 1.10 - an NBD server toolkit with stable plugin API and permissive license
I’m pleased to announce the next stable release of nbdkit. This
release concentrates on performance and fuzzing, along with numerous
other enhancements (full list below).
NBD — Network Block Device — is a protocol for accessing Block Devices
(hard disks and disk-like things) over a Network. nbdkit is a toolkit
for creating NBD servers.
The key features are:
* Multithreaded NBD server written
2008 Dec 16
8
sliding window over a large vector
Hi all,
I have a very large binary vector, I wish to calculate the number of
1's over sliding windows.
this is my very slow function
slide<-function(seq,window){
n<-length(seq)-window
tot<-c()
tot[1]<-sum(seq[1:window])
for (i in 2:n) {
tot[i]<- tot[i-1]-seq[i-1]+seq[i]
}
return(tot)
}
this works well for for reasonably sized vectors. Does
2020 Apr 08
0
[PATCH nbdkit v3] tmpdisk: Pass any parameters as shell variables to the command.
This allows us to be much more flexible about what commands can be
used. It also means we do not need to encode any special behaviour
for type or label parameters.
---
plugins/tmpdisk/nbdkit-tmpdisk-plugin.pod | 115 ++++++++++----
tests/Makefile.am | 2 +
plugins/tmpdisk/tmpdisk.c | 184 ++++++++++++++++------
plugins/tmpdisk/default-command.sh.in |