Displaying 20 results from an estimated 7276 matches for "increment".
2011 Jan 17
2
ping_pong using o2cb and cman
I was testing ocfs2 on a 2 node cluster set up.
ocfs2-tools version is 1.6.3
ocfs2 kernel version is 2.6.36
Using cman on 2 nodes
node02 dw # ping_pong -rwm /data/test.dat 3
data increment = 2
14 locks/sec
node01 dw # ping_pong -rw /data/test.dat 3
data increment = 2
10 locks/sec
node02 dw # ping_pong -r /data/test.dat 3
1980 locks/sec
Using cman on 1 node
node02 dw # ping_pong -rwm /data/test.dat 3
data increment = 1
3165 locks/sec
node02 dw # ping_pong -rw...
2015 Nov 09
3
Rsync and differential Backups
On 11/9/2015 9:50 AM, Gordon Messmer wrote:
>
> I don't see the distinction you're making.
a incremental backup copies everything since the last incremental
a differential copies everything since the last full.
rsync is NOT a backup system, its just a incremental file copy
with the full/incremental/differential approach, a restore to a given
date would need to restore the last full, then the la...
2013 Oct 01
2
[LLVMdev] Post Increment Indirect Move Instructions
Hi Hal,
Our Architecture has indirect move instruction which increments the
pointer implicitly and the target only has i8 type values. So the load
of i16 will be converted to two i8 target loads wherein after the first
load instruction, the pointer to the first i8 address will automatically
increment to point to the next i8 value. So the post increment nature is...
2005 Jul 23
2
ASTCC gives me only the time, but no cost
I try to track down an error that causes that Astcc just reports the time, but not the costs.
I could narrow the problem down into this sub routine:
sub calccost() {
my ($adjconn, $adjcost, $answeredtime, $increment) = @_;
eval { my $adjtime = int(($answeredtime + $increment - 1) / $increment) * $increment };
my $cost;
print STDERR "Adjusted time is $adjtime, cost is $adjcost with $adjconn fee\n";
eval { $cost = int($adjcost * $adjtime / 60) };
$cost += $adjconn;
print STDERR "Total cost i...
2006 Dec 06
2
May I merge several increment backups to one?
Hi all,
I have the following situation:
Backup /mysource to /backupdir,
/backupdir/full ---------an old full backup
/backupdir/back2 -------previous increment backup(based on the full backup
mentioned above)
/backupdir/back1 ------most recent increment backup (based on the two
backups mentioned above)
How can I merge the two increment backups into one directory,say
/backupdir/increment ?
Best regards!
robbin
-------------- next part -------------...
2013 Jan 20
20
ActiveRecord::Persistence.increment! requires a row lock to ensure isolated updates
The method is here:
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/persistence.rb#L288.
The method takes the in-memory attribute value and increments it by the
specified amount. A safer approach (from an isolation standpoint) would be
to let the database determine the value. Instead of telling the database
what value to persist in the database, the SQL can written (at least for
postgres) so that the database will atomically increment a valu...
2013 Oct 08
1
[LLVMdev] Post Increment Indirect Move Instructions
Hi Hal,
On Tuesday 01 October 2013 06:22 PM, Hal Finkel wrote:
> ----- Original Message -----
>> Hi Hal,
>>
>>
>> Our Architecture has indirect move instruction which increments
>> the
>> pointer implicitly and the target only has i8 type values. So the
>> load
>> of i16 will be converted to two i8 target loads wherein after the
>> first
>> load instruction, the pointer to the first i8 address will
>> automatically
>>...
2006 Jun 26
3
no true incrementals with rsync?
for example's sake:
With traditional backup systems, you keep a base (full backup, let's say
every 30 days), then build incrementals on top of that, eg. (what has
changed since the base).
So, to restore, you copy over your base, then copy each incremental over the
base to rebuild up to the latest snapshot. (*copying new incrementals files
over older base files*)
With rsync, (using --backup, --backup-dir) it's opposite,...
2013 Mar 01
0
[LLVMdev] Interesting post increment situation in DAG combiner
----- Original Message -----
> From: "Sergei Larin" <slarin at codeaurora.org>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: llvmdev at cs.uiuc.edu
> Sent: Friday, March 1, 2013 10:24:39 AM
> Subject: Interesting post increment situation in DAG combiner
>
> Hal, (and everyone who might care about post increment generation)...
Sergei,
Perhaps this is a problem that I wish that I had ;) -- PPC does not have post-increment loads and stores, only pre-increment ones. Nevertheless, I think that the situation is similar...
2013 Mar 01
1
[LLVMdev] Interesting post increment situation in DAG combiner
...vation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
> -----Original Message-----
> From: Hal Finkel [mailto:hfinkel at anl.gov]
> Sent: Friday, March 01, 2013 4:53 PM
> To: Sergei Larin
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: Interesting post increment situation in DAG combiner
>
> ----- Original Message -----
> > From: "Sergei Larin" <slarin at codeaurora.org>
> > To: "Hal Finkel" <hfinkel at anl.gov>
> > Cc: llvmdev at cs.uiuc.edu
> > Sent: Friday, March 1, 2013 10:24:39 AM
> >...
2013 Oct 01
0
[LLVMdev] Post Increment Indirect Move Instructions
----- Original Message -----
> Hi Hal,
>
>
> Our Architecture has indirect move instruction which increments
> the
> pointer implicitly and the target only has i8 type values. So the
> load
> of i16 will be converted to two i8 target loads wherein after the
> first
> load instruction, the pointer to the first i8 address will
> automatically
> increment to point to the next i8...
2013 Sep 30
2
[LLVMdev] Post Increment Indirect Move Instructions
Hi,
We have an architecture where the indirect move instruction
implicitly increments the pointer
value after the move. We have Instruction format and pattern for this
type of instructions.
How to encode the information that the pointer is incremented?
Thanks and regards,
Shashidhar
2010 Oct 08
1
[LLVMdev] llvm-gcc: code generated for pre- and post-increment
I'm relatively new to LLVM so apologies in advance if this is a dumb
question. I've been experimenting with re-targeting LLVM onto a 16-bit
micro which has pre and post increment and decrement addressing modes.
I've been using llvm-gcc to generate llvm bitcode and llvm 2.7 to go
from here to my target assembly code.
I've got the Combine pass to deal with post-increment/decrement modes
without any difficulty but I can't seem to get pre-increment/decrement...
2013 Mar 01
2
[LLVMdev] Interesting post increment situation in DAG combiner
Hal, (and everyone who might care about post increment generation)...
I have an interesting question/observation. Consider this vector loop.
void vec_add_const(unsigned N, short __attribute__ ((aligned (16))) *A,
short __attribute__ ((aligned (16))) val)
{
unsigned i,j;
for (i=0; i<N; i++) {
for (j=0; j<N;...
2015 Oct 30
2
Questions about load/store incrementing address modes
I have a rudimentary implementation for load and store instructions, where
the memory address operand is automatically post-incremented when the load
or store instruction is issued. However, this is currently coded using
custom lowering, and explicit pattern matching in the 'ISelDAGtoDAG'
implementation. But it seems to me that I ought to be able to achieve this
exclusively using TableGen with minimal custom C++ code, b...
2008 Mar 15
3
Incremental backups?
So I thought I'd get a head start for next week -
I have a low-power Linux box that has a few samba shares mounted, and
limited hard disk space. This box is connected to a tape library via
SCSI card.
I want to find the best way to create a full, then incremental backup of
the samba mounts, directly to tape. Some of the samba mounts are
appliances that cannot run any special client/agent.
I'm looking at tar as an option, with its --incremental switch. Bacula
uses a mysql database. I tried setting it up and it was not so easy, so I
opted to us...
2012 Jul 18
2
conditional increase by increment
I am trying to assign increasing trip numbers to a binary variable ("land";
1=home and 0=away) where a string of 1's shouldn't increment the trip_no
more than once.
For example; based on
land<-c(0,0,0,0,1,1,1,0,0,0,1,1,0,0,0,0)
the "trip_no" sequence produced should be 1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3
This is as far as I can get but Im stumped. In addition I need it to work on
data where the land variable can start...
2013 Sep 30
0
[LLVMdev] Post Increment Indirect Move Instructions
----- Original Message -----
> Hi,
>
> We have an architecture where the indirect move instruction
> implicitly increments the pointer
> value after the move. We have Instruction format and pattern for this
> type of instructions.
>
> How to encode the information that the pointer is incremented?
As you seem to be aware, LLVM has patterns specifically to match pre/post increment loads and stores (post_st...
2003 Nov 20
2
Increment element of vector and efficiency
Hi all,
Thanks for the incredibly quick help with the "%in%"...
There's a second question, though: I'd like to increment an element of a
vector if a certain event occurs, e.g.
count[event] <- count[event] + 1; # works, but...
Is this efficient? I wonder whether R needs to subset the count vector
on both sides of the assignment operator (i.e., twice), or whether
there's a shortcut like "++...
2005 Oct 31
2
rsync + incremental changes files
Hi,
Well, I need the procedure or how to do a full backup of archives to a
directory. Then, do incremental backups in different directories.
For example:
source-dir to dest-dir a full backup.
incremental of sources-dir and differential of backup-dir in `date +%m%h%y`
Then, i should have a full backup in the dest-dir and
incremental+diferential backup in every $DATE directory.
Any ideas?
I try this...