Displaying 20 results from an estimated 81 matches for "multiprocess".
Did you mean:
multiprocessor
2012 Oct 18
4
Rack env rack.multiprocess true with single worker
Hi,
unicorn unconditionally sets rack.multiprocess to true in the Rack
environment. The Rack spec [0] says the following about the variable:
"true if an equivalent application object may be simultaneously invoked
by another process, false otherwise."
When unicorn is running with a single worker this does not hold so what
do you think ab...
2017 Jun 30
2
Simplest way of executing a non-blocking (async) python AGI script?
...3, it's
now 22:20 and I have been through 4 different methods, all block with
a 2 second delay before returning to dialplan.
Here are just some of the examples I have tried, as as per the
suggestions, I am closing all possible outputs in the forked process.
https://docs.python.org/3.5/library/multiprocessing.html
https://docs.python.org/3.5/library/multiprocessing.html?highlight=multiprocessing#multiprocessing.Process.join
https://stackoverflow.com/questions/19747371/python-exit-commands-why-so-many-and-when-should-each-be-used
https://stackoverflow.com/questions/27624850/launch-a-completely-indepen...
2017 Feb 08
2
OpenGL context switching with Noveau
...ble to pull
this off with intel and ati graphics cards, but not with any nvidia card
(tried a few of them), neither with the proprietary driver nor with noveau.
Are there any specific tricks to achieve this? Or should I just use one
context from one process, i.e. use multithreading instead of
multiprocessing and avoid context switching alltogether? (is there
something fundamentally wrong in my approach of multiprocesses and
context switching?)
Interestingly, when using N>2 multiprocesses (spanned with fork), only
one of the textures is updating - the others freeze. However, when
using the...
2016 Feb 23
2
Can lit be upgraded to assume Python 2.7?
In the root llvm/CMakeLists.txt we have:
if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
message(FATAL_ERROR "Python 2.7 or newer is required")
endif()
But lit seems to still be stuck in a Python 2.5 world. For example,
detectCPUs is redundant now that we have multiprocessing.cpu_count()
(multiprocessing requires >=2.6). And there are a bunch of other Python 2.5
workarounds floating around inside lit. I'm actually not sure if there are
2.6 workarounds.
Anyway, does anybody know if somehow, despite the CMake check, lit is still
being run with Python <2.7 on...
2011 Jun 24
2
Wine + Calibre
...er.py", line 221, in run
File "site-packages\calibre\utils\ipc\server.py", line 139, in launch_worker
CriticalError: Failed to launch worker process:
Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\server.py", line 149, in do_launch
File "multiprocessing\connection.py", line 121, in accept
File "multiprocessing\connection.py", line 373, in deliver_challenge
IOError: [Errno 233] Pipe not connected
It seems to me a bug with python.
Firstly, I installed Python 2.7 and then 3.2... Still the same problem.
I even deleted the wine di...
2016 Feb 24
3
Can lit be upgraded to assume Python 2.7?
...e root llvm/CMakeLists.txt we have:
>
> if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
> message(FATAL_ERROR "Python 2.7 or newer is required")
> endif()
>
> But lit seems to still be stuck in a Python 2.5 world. For example, detectCPUs is redundant now that we have multiprocessing.cpu_count() (multiprocessing requires >=2.6). And there are a bunch of other Python 2.5 workarounds floating around inside lit. I'm actually not sure if there are 2.6 workarounds.
>
> Anyway, does anybody know if somehow, despite the CMake check, lit is still being run with Python...
2017 Feb 08
1
OpenGL context switching with Noveau
...and ati graphics cards, but not with any nvidia card (tried a
>> few of them), neither with the proprietary driver nor with noveau.
>>
>> Are there any specific tricks to achieve this? Or should I just use one
>> context from one process, i.e. use multithreading instead of multiprocessing
>> and avoid context switching alltogether? (is there something fundamentally
>> wrong in my approach of multiprocesses and context switching?)
>>
>> Interestingly, when using N>2 multiprocesses (spanned with fork), only one
>> of the textures is updating - the...
2016 Feb 24
0
Can lit be upgraded to assume Python 2.7?
...ave:
>>
>> if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
>> message(FATAL_ERROR "Python 2.7 or newer is required")
>> endif()
>>
>> But lit seems to still be stuck in a Python 2.5 world. For example,
>> detectCPUs is redundant now that we have multiprocessing.cpu_count()
>> (multiprocessing requires >=2.6). And there are a bunch of other Python 2.5
>> workarounds floating around inside lit. I'm actually not sure if there are
>> 2.6 workarounds.
>>
>> Anyway, does anybody know if somehow, despite the CMake check, l...
2017 Jun 30
3
Simplest way of executing a non-blocking (async) python AGI script?
I use a python AGI which pulls some info from a web service, which should
take half a second.
Sometimes, it takes 5-10 seconds which blocks the dialplan execution, but
the dialplan should continue immediately as it's not dependent on the
AGI/web service data.
What's the simplest, easiest quickest least-code way of firing off an AGI
with some variable, and then returning to the dialplan?
2017 Feb 08
0
OpenGL context switching with Noveau
...; off with intel and ati graphics cards, but not with any nvidia card (tried a
> few of them), neither with the proprietary driver nor with noveau.
>
> Are there any specific tricks to achieve this? Or should I just use one
> context from one process, i.e. use multithreading instead of multiprocessing
> and avoid context switching alltogether? (is there something fundamentally
> wrong in my approach of multiprocesses and context switching?)
>
> Interestingly, when using N>2 multiprocesses (spanned with fork), only one
> of the textures is updating - the others freeze. Howe...
2024 Aug 06
1
Another issue using multi-processing linear algebra libraries
...at was the end of all useful work. I worked around the problem by rewriting the matrix multiply as ?colSums(x * t(y))?. It also worked to build R from source, which I guess uses the built-in BLAS and LAPACK.
Would it make sense to add a parameter somewhere, to mclapply(), say, telling R to not use multiprocessing libraries? Does R even know whether a linked library is doing multi-processing? Does R build its own BLAS and LAPACK if its also linking external ones?
Thanks,
Rob
[[alternative HTML version deleted]]
2012 Dec 01
11
[LLVMdev] Minimum Python Version
I'd like to continue the discussion about minimum Python versions from the
"Use multiprocessing instead of threading" thread in its own thread because
I feel it warrants additional discussion.
In that thread, we were discussing maintaining support for Python 2.4 and
2.5. The latest response is:
On Fri, Nov 30, 2012 at 1:40 PM, Daniel Dunbar <daniel at zuster.org> wrote:
>...
2012 Dec 01
0
[LLVMdev] Minimum Python Version
On 2012-12-01 21:57, Gregory Szorc wrote:
> I'd like to continue the discussion about minimum Python versions from the "Use multiprocessing instead of threading" thread in its own thread because I feel it warrants additional discussion.
...
> For these reasons, I urge LLVM to drop support for Python older than 2.6. I would encourage requiring 2.7 (preferably the latest available release - 2.7.3 at this time) at the earliest...
2005 Jan 03
2
Memory problem ... Again
...perform dChip processing. However, the
memory problem happened again. Since the amount of physical memory is 64GB,
I think it should not be a problem. Is there anyway we can configure memory
usage so that all physical memory can be utilized?
Our system is like this:
System type: IBM AIX Symmetric Multiprocessing (SMP)
OS version: SuSe 8 SP3a
CPU: 8
Memory: 64GB
The codes are as follows:
> Data <- ReadAffy(filenames = paste(HOME, "CelData/", fname, sep=""))
> eset <- expresso(Data, normalize.method="invariantset", bg.correct=FALSE, pmc\
orrect.method="pmonl...
2012 Dec 01
2
[LLVMdev] Minimum Python Version
On Sat, Dec 1, 2012 at 2:08 PM, Dimitry Andric <dimitry at andric.com> wrote:
> On 2012-12-01 21:57, Gregory Szorc wrote:
>>
>> I'd like to continue the discussion about minimum Python versions from the
>> "Use multiprocessing instead of threading" thread in its own thread because
>> I feel it warrants additional discussion.
>
> ...
>
>> For these reasons, I urge LLVM to drop support for Python older than 2.6.
>> I would encourage requiring 2.7 (preferably the latest available release -...
2009 Jun 23
2
[LLVMdev] LLVM Automatic Pool Allocation
My name is Michael Frerichs and I am a part of a research team led by Dr. Krishna Kavi at the University of North Texas. Our current work focuses on optimizing dynamic memory for multiprocessor systems. We are interested in the LLVM infrastructure and the Automatic Pool Allocation technique. We believe this tool could be useful to our research and wondered if we could utilize your implementations of the Automatic Pool Allocation tool for multiprocessing applications.
Thank you,
Michael...
2010 Jan 21
1
Xapian under 360 MB VPS
...st of the Linux OS. The main UI will be a Google style search box.
Questions:
0. How would you configure Xapian for such low memory systems (e.g. how many readers, flush threshold for writer)?
1. Will file handle limitation be a problem for multithreaded Xapian reader?
2. What are advantages of multiprocess readers (compared to multithreaded) aside from crash isolation
Thanks so much!
Marlon
2009 Jul 02
8
rails hyperthreading on Quad core
Hi, my video sharing website (politube.org) that I developed with rails,
runs on lighttpd/fcgi (I know it is obsolete by now) and is severely
under load and regularly blocks because the lighttpd process chews up
50% of RAM (1GB).
So now I want to move the system to a new server with 8GB, 64bit ,
Quad core processor (intel i7 920) but I am not sure if hyperthreading
will really do anything better.
2004 Aug 06
2
ICECAST enseirb group
...gt; >
> > ----------------------------------------
> >
> > What can ICECAST do with *.m3u files ?
> >
> > ----------------------------------------
> >
> > This is probably a quite stupid question but I'd like to know why
ICECAST
> > isn't a multiprocessing application? The main problem is that global
> > variables can be easily used in multithread applications but with
> > difficulties in multiprocessing applications if modules are quite bound
> > together. In ICECAST, something could probabaly be done to make the
fserve
> >...
2018 Nov 21
2
Promises Future en shiny no me funciona
...pesado y el ligero solo cuando se ha ejecutado ya el pesado.
Para simular las consultas, eh creado la funcion heavyFunction.... Aqui os pongo mi código. ¿Qué creeis que puede estar pasando? Lo curioso es que si os fijais en la consola, si que funciona bien.
library(future)
library(promises)
plan(multiprocess)
heavyFunction <- function(n){
Sys.sleep(n)
print(n)
}
ui <- fluidPage(
actionButton("go","Show the data"),
textOutput("result0sec"),
textOutput("result10sec")
)
server <- function(input,output,session){
data0 <- eventReactive(i...