search for: capac

Displaying 20 results from an estimated 2678 matches for "capac".

Did you mean: capa
2008 Jul 07
1
GLM, LMER, GEE interpretation
Hi, my dependent variable is a proportion ("prob.bind"), and the independent variables are factors for group membership ("group") and a covariate ("capacity"). I am interested in the effects of group, capacity, and their interaction. Each subject is observed on all (4) levels of capacity (I use capacity as a covariate because the effect of this variable is normatively linear). I fit three models, but I am observing differences between the three...
2017 Jul 26
2
[PATCH] virtio_blk: fix incorrect message when disk is resized
...n disk resize is incorrect. The following is printed when resizing to 2 GiB: $ truncate -s 1G test.img $ qemu -device virtio-blk-pci,logical_block_size=4096,... (qemu) block_resize drive1 2G virtio_blk virtio0: new size: 4194304 4096-byte logical blocks (17.2 GB/16.0 GiB) The virtio_blk capacity config field is in 512-byte sector units regardless of logical_block_size as per the VIRTIO specification. Therefore the message should read: virtio_blk virtio0: new size: 524288 4096-byte logical blocks (2.15 GB/2.0 GiB) Note that this only affects the printed message. Thankfully the actua...
2017 Jul 26
2
[PATCH] virtio_blk: fix incorrect message when disk is resized
...n disk resize is incorrect. The following is printed when resizing to 2 GiB: $ truncate -s 1G test.img $ qemu -device virtio-blk-pci,logical_block_size=4096,... (qemu) block_resize drive1 2G virtio_blk virtio0: new size: 4194304 4096-byte logical blocks (17.2 GB/16.0 GiB) The virtio_blk capacity config field is in 512-byte sector units regardless of logical_block_size as per the VIRTIO specification. Therefore the message should read: virtio_blk virtio0: new size: 524288 4096-byte logical blocks (2.15 GB/2.0 GiB) Note that this only affects the printed message. Thankfully the actua...
2018 Jun 21
4
RFC: Should SmallVectors be smaller?
...the right speed/memory tradeoff. It would be straightforward to shave off a couple of pointers (1 pointer/4B on 32-bit; 2 pointers/16B on 64-bit) if users could afford to test for small-mode vs. large-mode. The current scheme works out to something like this: ``` template <class T, size_t SmallCapacity> struct SmallVector { T *BeginX, *EndX, *CapacityX; T Small[SmallCapacity]; bool isSmall() const { return BeginX == Small; } T *begin() { return BeginX; } T *end() { return EndX; } size_t size() const { return EndX - BeginX; } size_t capacity() const { return CapacityX - BeginX...
2011 Jun 01
5
[PATCH RFC 0/3] virtio and vhost-net capacity handling
OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Note: there are now actually 2 calls to fee_old_xmit_skbs on data path so instead of passing flag '2' to the second one I thought we can...
2011 Jun 01
5
[PATCH RFC 0/3] virtio and vhost-net capacity handling
OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Note: there are now actually 2 calls to fee_old_xmit_skbs on data path so instead of passing flag '2' to the second one I thought we can...
2012 Jul 04
3
[PATCH] xen: populate correct number of pages when across mem boundary
...arch/x86/xen/setup.c @@ -157,50 +157,48 @@ static unsigned long __init xen_populate_chunk( unsigned long dest_pfn; for (i = 0, entry = list; i < map_size; i++, entry++) { - unsigned long credits = credits_left; unsigned long s_pfn; unsigned long e_pfn; unsigned long pfns; long capacity; - if (credits <= 0) + if (credits_left <= 0) break; if (entry->type != E820_RAM) continue; - e_pfn = PFN_UP(entry->addr + entry->size); + e_pfn = PFN_DOWN(entry->addr + entry->size); /* We only care about E820 after the xen_start_info->nr_pages...
2012 Jul 04
3
[PATCH] xen: populate correct number of pages when across mem boundary
...arch/x86/xen/setup.c @@ -157,50 +157,48 @@ static unsigned long __init xen_populate_chunk( unsigned long dest_pfn; for (i = 0, entry = list; i < map_size; i++, entry++) { - unsigned long credits = credits_left; unsigned long s_pfn; unsigned long e_pfn; unsigned long pfns; long capacity; - if (credits <= 0) + if (credits_left <= 0) break; if (entry->type != E820_RAM) continue; - e_pfn = PFN_UP(entry->addr + entry->size); + e_pfn = PFN_DOWN(entry->addr + entry->size); /* We only care about E820 after the xen_start_info->nr_pages...
2011 Jun 02
6
[PATCHv2 RFC 0/4] virtio and vhost-net capacity handling
OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Warning: untested. Posting now to give people chance to comment on the API. Changes from v1: - fix comment in patch 2 to correct confusion note...
2011 Jun 02
6
[PATCHv2 RFC 0/4] virtio and vhost-net capacity handling
OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Warning: untested. Posting now to give people chance to comment on the API. Changes from v1: - fix comment in patch 2 to correct confusion note...
2019 May 24
0
[PATCH] VMCI: Fix integer overflow in VMCI handle arrays
...when it tries to expand the array. This can be triggered from a guest, since the doorbell link hypercall doesn't impose a limit on the number of doorbell handles that a VM can create in the hypervisor, and these handles are stored in a handle array. In this change, we introduce a mandatory max capacity for handle arrays/lists to avoid excessive memory usage. Signed-off-by: Vishnu Dasa <vdasa at vmware.com> Reviewed-by: Adit Ranadive <aditr at vmware.com> Reviewed-by: Jorgen Hansen <jhansen at vmware.com> --- drivers/misc/vmw_vmci/vmci_context.c | 80 +++++++++++++------...
2018 Jan 03
1
[PATCH] virtio_blk: print capacity at probe time
Print the capacity of the block device when the driver is probed. Many users expect this since SCSI disks (sd) do it. Moreover, kernel dmesg output is the primary source of troubleshooting information so it's helpful to include the disk size there. The capacity is already printed by virtio_blk when a resize...
2008 Oct 26
0
LMER quasibinomial
...tically (also the variance of the random effects) despite running the exact same model. Is there any advice which of the models to trust and as to where these differences come from? Thanks, Daniel --------- Results 1 --------- Generalized linear mixed model fit using Laplace Formula: prob.bind ~ capacity * group + (1 | subject) Subset: c(combination == "gnl") Family: quasibinomial(logit link) AIC BIC logLik deviance 11082 11109 -5534 11068 Random effects: Groups Name Variance Std.Dev. subject (Intercept) 42.977 6.5557 Residual 26.845 5.1813...
2009 May 29
1
code optimization problem ... using or not using "which" function
hello all, I have two data sets that share certain fields of of interest ( facility, unit, date) which I want to match up, and from this extract information from one dataset and store it in the other. my first initial idea (which I know is bad) goes like this: ## capacity and new_trayloc are datasets in example code: for( i in 1: nrow( new_trayloc) { theshifts<-which(as.Date(capacity$shift_dt) == new_trayloc$admit_dt[i] & as.character(capacity$unit)==as.character(new_trayloc$UNIT_1[i]) & as.character(capacity$fac_id)==as.character(new_t...
2015 Mar 15
2
virtio-net: tx queue was stopped
...ped and can't send any packets anymore. Why don't you Cc all maintainers on this email? Pls check the file MAINTAINERS for the full list. I added Cc for now. > > static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev) > { > ... ... > > > capacity = 10; //########## test code : force to call netif_stop_queue > > if (capacity < 2+MAX_SKB_FRAGS) { > netif_stop_queue(dev); So you changed code to make it think we are out of capacity, now it stops the queue. > > if (unlikely(!virtqu...
2015 Mar 15
2
virtio-net: tx queue was stopped
...ped and can't send any packets anymore. Why don't you Cc all maintainers on this email? Pls check the file MAINTAINERS for the full list. I added Cc for now. > > static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev) > { > ... ... > > > capacity = 10; //########## test code : force to call netif_stop_queue > > if (capacity < 2+MAX_SKB_FRAGS) { > netif_stop_queue(dev); So you changed code to make it think we are out of capacity, now it stops the queue. > > if (unlikely(!virtqu...
2007 Apr 13
4
E1 capacity
Can anyone tell me what the capacity is of 2 E1's in minutes. Ie how many minutes can 2 E1's take. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070413/de59fcf5/attachment.htm
2010 Feb 15
3
Maximum call handling capacity on single server
Hi I have a server with Quad Core Xeon 2.4GHz and 4GB RAM. I want to use it for PSTN-IP gateway. What is the maximum call handling capacity I can achieve with this server? I want at least 480 concurrent PSTN-IP calls. That mean I will have to install minimum 4 x 4E1 cards and run 480 G.711 RTP sessions. No call recording. No IVR. Pure gateway functionality. Can I achieve this capacity with given server configuration? If not, what k...
2011 Jan 27
1
[PATCH] virtio_blk: allow re-reading config space at runtime
...tblk_config_change *cfg = > + container_of(work, struct virtblk_config_change, work); > + struct virtio_device *vdev = cfg->vdev; > + struct virtio_blk *vblk = vdev->priv; > + struct request_queue *q = vblk->disk->queue; > + char cap_str_2[10], cap_str_10[10]; > + u64 capacity, size; > + > + /* Host must always specify the capacity. */ > + vdev->config->get(vdev, offsetof(struct virtio_blk_config, capacity), > + &capacity, sizeof(capacity)); > + > + /* If capacity is too big, truncate with warning. */ > + if ((sector_t)capacity != ca...
2011 Jan 27
1
[PATCH] virtio_blk: allow re-reading config space at runtime
...tblk_config_change *cfg = > + container_of(work, struct virtblk_config_change, work); > + struct virtio_device *vdev = cfg->vdev; > + struct virtio_blk *vblk = vdev->priv; > + struct request_queue *q = vblk->disk->queue; > + char cap_str_2[10], cap_str_10[10]; > + u64 capacity, size; > + > + /* Host must always specify the capacity. */ > + vdev->config->get(vdev, offsetof(struct virtio_blk_config, capacity), > + &capacity, sizeof(capacity)); > + > + /* If capacity is too big, truncate with warning. */ > + if ((sector_t)capacity != ca...