Displaying 20 results from an estimated 10000 matches similar to: "session state w/ >1 processes"
2006 Jul 25
3
Ruby hangman (was Re: List etiquette question)
"Beast" is more appropriate than you know. It''s definately Frankenstein
code. (read: it ain''t pretty, but it works - some of the time). Anyway, it
entertains my wife; not sure if hardcore programmers will get anything out
of it or not.
You might find it interesting (or pointless) that in a complete
bastardization of rails'' main reason for being it
2006 Jul 05
3
override created_on column name
We are using Rails for a project that must integrate with a legacy
database. Is there a way to get Rails to automatically set the timestamp
for a column named something other created_on or updated_on ?
Also, how does one manipulate the size of the database connection pool?
Dennis Byrne
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 13
4
script injection/cross-site scripting protection
When is it possible to set <script>while(true){}</script> as the value of
project.name, what it the best way to escape the output of the following?
<td><%= project.name %></td>
Dennis Byrne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/bbdedb86/attachment.html
2006 Jun 28
20
Rails Vs JBoss Seam
I have been frustrated with J2EE technology just like any other developer who has worked in that
technology for a long time. This made me learn about Rails and I was excited about RoR. Today I
came across JBoss Seam framework and I am not able to contain my excitement.
My passion for JEE development is back. It seems like it is better than RoR. I would like to hear
differnt opinions about this
2006 Jun 27
2
Transaction syntax for > 1 table/model
If I want to wrap two account updates, the syntax is ...
Account.transaction(dennis, david) do
dennis.withdraw(10);
david.deposit(10);
end
.. where both dennis and david are instances of Account.
Can someone please let me know what the syntax is for starting and ending
a *single* database transactions which spans two *different* kinds of
models/tables ?
Dennis Byrne
-------------- next
2013 Sep 17
1
[PATCH] xen: numa-sched: leave node-affinity alone if not in "auto" mode
If the domain''s NUMA node-affinity is being specified by the
user/toolstack (instead of being automatically computed by Xen),
we really should stick to that. This means domain_update_node_affinity()
is wrong when it filters out some stuff from there even in "!auto"
mode.
This commit fixes that. Of course, this does not mean node-affinity
is always honoured (e.g., a vcpu
2013 Sep 17
1
[PATCH v2] xen: sched_credit: filter node-affinity mask against online cpus
in _csched_cpu_pick(), as not doing so may result in the domain''s
node-affinity mask (as retrieved by csched_balance_cpumask() )
and online mask (as retrieved by cpupool_scheduler_cpumask() )
having an empty intersection.
Therefore, when attempting a node-affinity load balancing step
and running this:
...
/* Pick an online CPU from the proper affinity mask */
2017 Apr 21
3
[PATCH net-next v2 2/5] virtio-net: transmit napi
>>> Maybe I was wrong, but according to Michael's comment it looks like he
>>> want
>>> check affinity_hint_set just for speculative tx polling on rx napi
>>> instead
>>> of disabling it at all.
>>>
>>> And I'm not convinced this is really needed, driver only provide affinity
>>> hint instead of affinity, so it's
2017 Apr 21
3
[PATCH net-next v2 2/5] virtio-net: transmit napi
>>> Maybe I was wrong, but according to Michael's comment it looks like he
>>> want
>>> check affinity_hint_set just for speculative tx polling on rx napi
>>> instead
>>> of disabling it at all.
>>>
>>> And I'm not convinced this is really needed, driver only provide affinity
>>> hint instead of affinity, so it's
2013 Nov 17
2
Suspend Failure on Toshiba Portege R935
On Sat, Nov 16, 2013 at 11:14 PM, EGO.II-1 <eoconnor25 at gmail.com> wrote:
> On 11/16/2013 10:04 PM, Michael B Allen wrote:
>> Broke affinity for irq 27
> Found this online....don't know if it pertains to your issue, but check
> it out.
>
> https://www.centos.org/forums/viewtopic.php?t=3941
Unfortunately updating the BIOS did not fix the problem (even though
the
2017 Apr 20
2
[PATCH net-next v2 2/5] virtio-net: transmit napi
On Thu, Apr 20, 2017 at 2:27 AM, Jason Wang <jasowang at redhat.com> wrote:
>
>
> On 2017?04?19? 04:21, Willem de Bruijn wrote:
>>
>> +static void virtnet_napi_tx_enable(struct virtnet_info *vi,
>> + struct virtqueue *vq,
>> + struct napi_struct *napi)
>> +{
>> + if
2017 Apr 20
2
[PATCH net-next v2 2/5] virtio-net: transmit napi
On Thu, Apr 20, 2017 at 2:27 AM, Jason Wang <jasowang at redhat.com> wrote:
>
>
> On 2017?04?19? 04:21, Willem de Bruijn wrote:
>>
>> +static void virtnet_napi_tx_enable(struct virtnet_info *vi,
>> + struct virtqueue *vq,
>> + struct napi_struct *napi)
>> +{
>> + if
2017 Apr 24
2
[PATCH net-next v2 2/5] virtio-net: transmit napi
On Mon, Apr 24, 2017 at 12:40 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> On Fri, Apr 21, 2017 at 10:50:12AM -0400, Willem de Bruijn wrote:
>> >>> Maybe I was wrong, but according to Michael's comment it looks like he
>> >>> want
>> >>> check affinity_hint_set just for speculative tx polling on rx napi
>> >>> instead
2017 Apr 24
2
[PATCH net-next v2 2/5] virtio-net: transmit napi
On Mon, Apr 24, 2017 at 12:40 PM, Michael S. Tsirkin <mst at redhat.com> wrote:
> On Fri, Apr 21, 2017 at 10:50:12AM -0400, Willem de Bruijn wrote:
>> >>> Maybe I was wrong, but according to Michael's comment it looks like he
>> >>> want
>> >>> check affinity_hint_set just for speculative tx polling on rx napi
>> >>> instead
2013 Mar 27
2
[PATCH] x86/S3: Restore broken vcpu affinity on resume (v3)
When in SYS_STATE_suspend, and going through the cpu_disable_scheduler
path, save a copy of the current cpu affinity, and mark a flag to
restore it later.
Later, in the resume process, when enabling nonboot cpus restore these
affinities.
v2:
Fix formatting problems.
remove early return in cpu_disable_scheduler() path.
v3:
Fix remaining errant tab
Move restore_vcpu_affinity() to thaw_domains(),
2004 Nov 16
1
gcrma package
Hi !
I would like to understand where do affinity.spline.coefs used in function
compute.affinities come from ?
library(gcrma)
data(affinity.spline.coefs)
affinity.spline.coefs
X1 X2 X3 X4 X5 X1
-0.55004171 -0.58579091 -0.08870557 -0.47774242 0.23205570 0.58002746
X2 X3 X4 X5 X1 X2
2013 Dec 03
1
Re: help about migration with libvirt
On 12/03/2013 12:52 AM, Nicolas Sebrecht wrote:
> This is about CPU affinity. You may look at CPU pinning with 'vcpupin'
> in the manual of virsh. It is possible to enable vCPU pinning in libvirt
> guest XML.
>
> Don't know if libvirt supports applying CPU affinity at guest runtime
Yes, 'virsh vcpupin' can be used to change CPU affinity at runtime.
> but
2013 Mar 15
2
strange phenomenon on CPU affinity
Hello,
My testing machine has 2 quad-core CPU (It supports hyperthreading,
but i disable it in BIOS). I uses Xen 4.0.1 as the hypervisor. When I use 8
VMs to conduct a test, CPU affinity of the VMs is very strange. Like this:
vm_name vcpu_num cpu_affinity
Domain-0 8 any
VM1 4 1,3,5,7
VM2 4 1,3,5,7
VM3 4 1,3,5,7
VM4 4
2016 Jun 02
2
PBQP register allocation and copy propagation
Hi Lang and Arnaud,
I've been testing out the PBQP allocator for Thumb-2 and have ran into a
problem I'd love to get your input on.
The problem is exemplfied in the codegen for the function @bar in the
attached IR file:
bar:
push {r4, lr}
sub sp, #12
(1) movw r2, :lower16:.L_MergedGlobals
(1) movt r2, :upper16:.L_MergedGlobals
ldm.w r2,
2012 Mar 29
1
virsh create failed: cannot set CPU affinity on process 0
Hello Everyone:
We can't create vm on a physical server with 64 CPU(as reported by
/proc/cpuinfo). The error message is: "cannot set CPU affinity on process 0"
The following is the capabilities detected by libvirt:
<arch>x86_64</arch>
<model>Westmere</model>
<vendor>Intel</vendor>
<topology sockets='4'