search for: aggregr

Displaying 20 results from an estimated 27 matches for "aggregr".

Did you mean: aggreg
2008 Apr 18
1
[LLVMdev] PATCH allow for promoting any size struct arguments
Hi, the ArgumentPromotion pass replaces aggregrate function arguments by multiple individual arguments. The default pass only does this when the aggregrate has 3 or less elements, otherwise the code will be unchanged. I have a need to always promote aggregrate arguments, even when there are a lot of them. The attached patch adds a "maxEle...
2008 May 30
3
[LLVMdev] Plans considering first class structs and multiple return values
...structural problems that seem non-trivial to fix. In particular, now that structs are a first class values, the old way or returning multiple values is a bit confusing. The old way had a variable number of arguments to the return instruction, which could come out at the caller end as some special aggregrate value that could be indexed using getresult. Now that aggregrates are first class, you should be able to simply return a single struct and access the result in the caller using the new extractvalue instruction. However, both approaches define a function with a struct as a return type: It's...
2009 Feb 12
3
Aggregrate function
Hi, I have to recognize that i don't fully understand the aggregate function, but i think it should help me with what i want to do. xveg is a data.frame with location, species, and total for the species. Each location is repeated, once for every species present at that location. For each location i want to find out which species has the maximum total ... so i've tried different ways to
2008 May 30
0
[LLVMdev] Plans considering first class structs and multiple return values
...he current form of the ret instruction is still > useful, for > making multiple return values readable. In particular, writing > ret i32 1, i32 2 > is a lot more readable than the (functionally identical) three line > return > statement above. However, to make the first class aggregrates even > more > usable, it might be better to remove the multi operand return > instruction and > add support for literal aggregrates. Currently, I think these are only > supported as global constants. It would be useful if the following > was valid: > ret { i32, i32 }...
2011 Aug 01
1
going past restrictions on number of elements
Hello R experts, I'm trying to test R in a shared memory environment in which addressable memory is aggregrated to about 600G. However, I get an error of 'too many elements' specified when I try creating a 45K x 100K matrix. I tried running R with a --max-nsize=50000000000 option, but got the same message. Is there a way to run create such large matrices? thanks, Paul Rodriguez
2018 Jan 27
4
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
...code? Sounds like a pretty weak argument when adding kernel ABI is at > > stake... > > I am still not clear on the need for the extra netdev created by > virtio_net. The only advantage i can see is that the stats can be > broken between VF and virtio datapaths compared to the aggregrated > stats on virtio netdev as seen with the 2 netdev approach. Maybe you're not convinced but multiple arguments were made. > With 2 netdev model, any VM image that has a working network > configuration will transparently get VF based acceleration without > any changes. Nothi...
2008 Jun 02
2
[LLVMdev] Plans considering first class structs and multiple return values
...truction is still > > useful, for > > making multiple return values readable. In particular, writing > > ret i32 1, i32 2 > > is a lot more readable than the (functionally identical) three line > > return > > statement above. However, to make the first class aggregrates even > > more > > usable, it might be better to remove the multi operand return > > instruction and > > add support for literal aggregrates. Currently, I think these are only > > supported as global constants. It would be useful if the following > > was...
2018 Jan 26
2
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
On Sat, 27 Jan 2018 00:14:20 +0200, Michael S. Tsirkin wrote: > On Fri, Jan 26, 2018 at 01:46:42PM -0800, Siwei Liu wrote: > > > and the VM is not expected to do any tuning/optimizations on the VF driver > > > directly, > > > i think the current patch that follows the netvsc model of 2 netdevs(virtio > > > and vf) should > > > work fine. > >
2012 Nov 06
1
Filling dataframe incorrectly in for loop
Hi everyone, I am writing a simple script to read in a data file, search through the data file for an exact character match for a microRNA name, subset those rows, and aggregrate a dataframe with those subselections all in a for loop. This is what I have so far: #READ IN DATA file1 = "C:/Desktop/mirtarget2_predictions.txt" data = read.table(file1, header=FALSE, sep="\t") colnames(data) = c("mir", "gene", "score") data$mi...
2005 Nov 30
8
nested attributes with update_attributes()
Hi, I am trying to use the update_attributes on object with nested attributes and I am getting the following error: ProductPrice expected, got HashWithIndifferentAccess Here''s the situation (simplified): class Product < ActiveRecord::Base belongs_to :productPrice end class ProductPrice < ActiveRecord::Base has_one :product, :dependent => true
2018 Jan 26
0
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
...e extra 300 lines of > code? Sounds like a pretty weak argument when adding kernel ABI is at > stake... I am still not clear on the need for the extra netdev created by virtio_net. The only advantage i can see is that the stats can be broken between VF and virtio datapaths compared to the aggregrated stats on virtio netdev as seen with the 2 netdev approach. With 2 netdev model, any VM image that has a working network configuration will transparently get VF based acceleration without any changes. 3 netdev model breaks this configuration starting with the creation and naming of the 2 dev...
2017 Feb 15
0
[PATCH v3 2/2] x86/kvm: Provide optimized version of vcpu_is_preempted() for x86-64
...el of function call. To reduce this performance overhead, an optimized assembly version of the the __raw_callee_save___kvm_vcpu_is_preempt() function is provided for x86-64. With this patch applied on a KVM guest on a 2-socekt 16-core 32-thread system with 16 parallel jobs (8 on each socket), the aggregrate bandwidth of the fio test on an XFS ramdisk were as follows: I/O Type w/o patch with patch -------- --------- ---------- random read 8141.2 MB/s 8497.1 MB/s seq read 8229.4 MB/s 8304.2 MB/s random write 1675.5 MB/s 1701.5 MB/s seq write 1681.3 MB...
2017 Feb 15
0
[PATCH v4 2/2] x86/kvm: Provide optimized version of vcpu_is_preempted() for x86-64
...el of function call. To reduce this performance overhead, an optimized assembly version of the the __raw_callee_save___kvm_vcpu_is_preempt() function is provided for x86-64. With this patch applied on a KVM guest on a 2-socekt 16-core 32-thread system with 16 parallel jobs (8 on each socket), the aggregrate bandwidth of the fio test on an XFS ramdisk were as follows: I/O Type w/o patch with patch -------- --------- ---------- random read 8141.2 MB/s 8497.1 MB/s seq read 8229.4 MB/s 8304.2 MB/s random write 1675.5 MB/s 1701.5 MB/s seq write 1681.3 MB...
2017 Feb 10
3
[PATCH v2] x86/paravirt: Don't make vcpu_is_preempted() a callee-save function
...in the spinlock, mutex and rwsem slowpaths, there isn't much to gain by making it callee-save. So it is now changed to a normal function call instead. With this patch applied on both bare-metal & KVM guest on a 2-socekt 16-core 32-thread system with 16 parallel jobs (8 on each socket), the aggregrate bandwidth of the fio test on an XFS ramdisk were as follows: Bare Metal KVM Guest I/O Type w/o patch with patch w/o patch with patch -------- --------- ---------- --------- ---------- random read 8650.5 MB/s 8560.9 MB/s...
2017 Feb 10
3
[PATCH v2] x86/paravirt: Don't make vcpu_is_preempted() a callee-save function
...in the spinlock, mutex and rwsem slowpaths, there isn't much to gain by making it callee-save. So it is now changed to a normal function call instead. With this patch applied on both bare-metal & KVM guest on a 2-socekt 16-core 32-thread system with 16 parallel jobs (8 on each socket), the aggregrate bandwidth of the fio test on an XFS ramdisk were as follows: Bare Metal KVM Guest I/O Type w/o patch with patch w/o patch with patch -------- --------- ---------- --------- ---------- random read 8650.5 MB/s 8560.9 MB/s...
2018 Jan 28
0
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
...weak argument when adding kernel ABI is at > > > stake... > > > > I am still not clear on the need for the extra netdev created by > > virtio_net. The only advantage i can see is that the stats can be > > broken between VF and virtio datapaths compared to the aggregrated > > stats on virtio netdev as seen with the 2 netdev approach. > > Maybe you're not convinced but multiple arguments were made. > > > With 2 netdev model, any VM image that has a working network > > configuration will transparently get VF based acceleration w...
2006 Nov 15
2
Newbie: how to get unique x unique x aggregate chart?
I'm very new to R, so please forgive me if I just missed the answer in existing documentation... I have a data set with at least three columns, X, Y, and Z. I want to produce a chart where one axis shows all the unique values of X, and the other axis shows all the unique values of Y. Each cell within the chart should contain the result of applying an aggregate function (such as mean(), for
2008 Jun 02
0
[LLVMdev] Plans considering first class structs and multiple return values
...ill >>> useful, for >>> making multiple return values readable. In particular, writing >>> ret i32 1, i32 2 >>> is a lot more readable than the (functionally identical) three line >>> return >>> statement above. However, to make the first class aggregrates even >>> more >>> usable, it might be better to remove the multi operand return >>> instruction and >>> add support for literal aggregrates. Currently, I think these are >>> only >>> supported as global constants. It would be useful if the...
2018 Jan 27
0
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
...Sounds like a pretty weak argument when adding kernel ABI is at >>> stake... >> I am still not clear on the need for the extra netdev created by >> virtio_net. The only advantage i can see is that the stats can be >> broken between VF and virtio datapaths compared to the aggregrated >> stats on virtio netdev as seen with the 2 netdev approach. > Maybe you're not convinced but multiple arguments were made. All the arguments seem to either saying that semantically this doesn't look like a bond OR suggesting usecases that this patch is not trying to solve. T...
2017 Feb 08
4
[PATCH 1/2] x86/paravirt: Don't make vcpu_is_preempted() a callee-save function
...preempted() a callee-save function has a pretty high cost associated with it. As vcpu_is_preempted() is called within the spinlock, mutex and rwsem slowpaths, there isn't much to gain by making it callee-save. So it is now changed to a normal function call instead. With this patch applied, the aggregrate bandwidth of the fio sequential write test increased slightly from 2563.3MB/s to 2588.1MB/s (about 1%). Signed-off-by: Waiman Long <longman at redhat.com> --- arch/x86/include/asm/paravirt.h | 2 +- arch/x86/include/asm/paravirt_types.h | 2 +- arch/x86/kernel/kvm.c...