similar to: heavy processing during R_init_XXXXX()

Displaying 20 results from an estimated 300 matches similar to: "heavy processing during R_init_XXXXX()"

2014 Jun 04
2
[LLVMdev] -fvisibility=hidden, and typeinfo, and type-erasure
On Wed, Jun 04, 2014 at 06:32:35PM -0400, Rafael EspĂ­ndola wrote: > I think the difference is actually in the c++ library. It looks like > libstdc++ changed to always use strcmp of the typeinfo names: > > https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=149964 > > Should we do the same with libc++? No. It pessimizes correctly behaving code to work around code that
2006 Apr 20
3
Asterisk Won't start after SVN Trunk Update
Hi: I deleted old modules in /usr/lib/asterisk/modules before make install. I built zaptel and libpri before asterisk. Modprobe zaptel and modprobe -v wctdm executed witiout complaint. Starting asterisk produced the output below with several warnings and a failure. Can someone help, please. I double-spaced the warnings in the text below. The first warning is about music on hold because it
2024 Dec 18
2
R_CheckUserInterrupt() can be a performance bottleneck within GUIs
It seems benign, but has implications since checking time is actually not a cheap operation: adding jus ta time check alone incurs a penalty of ca. 700% compared with the time it takes to call R_CheckUserInterrupt(). Generally, it makes no sense to check interrupts at every iteration - you'll find code like if (++i % 10000 == 0) R_CheckUserInterrupt(); in loops to make sure it's not called
2024 Dec 17
1
R_CheckUserInterrupt() can be a performance bottleneck within GUIs
tl;dr: R_CheckUserInterrupt() can be a performance bottleneck within GUIs. This also affects functions in the 'stats' package, which could be improved by changing the position of calls to R_CheckUserInterrupt(). Dear all, Recently I was puzzled because some code in a package under development, which consisted almost entirely of a .Call() to a function written in
2024 Dec 17
1
R_CheckUserInterrupt() can be a performance bottleneck within GUIs
A more generic solution would be for R to throttle calls to R_CheckUserInterrupt(), because it makes no sense to check 1000 times per second if a user has interrupted, but it is difficult for the caller to know when R_CheckUserInterrupt() has been last called, or do it regularly without over-doing it. Here is a simple patch: https://github.com/r-devel/r-svn/pull/125 See also:
2024 Dec 17
1
R_CheckUserInterrupt() can be a performance bottleneck within GUIs
This seems like a great idea. Would it help to escalate this to a post on R-bugzilla, so it is less likely to fall through the cracks? On 12/17/24 09:51, Jeroen Ooms wrote: > A more generic solution would be for R to throttle calls to > R_CheckUserInterrupt(), because it makes no sense to check 1000 times > per second if a user has interrupted, but it is difficult for the > caller to
2024 Dec 18
1
R_CheckUserInterrupt() can be a performance bottleneck within GUIs
On 12/18/24 01:19, Simon Urbanek wrote: > It seems benign, but has implications since checking time is actually not a cheap operation: adding jus ta time check alone incurs a penalty of ca. 700% compared with the time it takes to call R_CheckUserInterrupt(). Generally, it makes no sense to check interrupts at every iteration - you'll find code like if (++i % 10000 == 0)
2006 Apr 26
0
Help! * Won't Start after SVN Trunk Update - SuSE 10
Hi: I deleted old modules in /usr/lib/asterisk/modules before make install. I built zaptel and libpri before asterisk. Modprobe zaptel and modprobe -v wctdm executed witiout complaint. Also, ztcfg shows 4 channels configured, as it should. Starting asterisk produced the output below with several warnings and a failure. Can someone help, please. I double-spaced the warnings in the text below
2006 Apr 25
1
Another undefined pri_restart failure
Hi: I upgraded SuSE to 10 and Asterisk to trunk and now after deleting all modules and previously compiled stuff and recompiling asterisk, zaptel, and libpri, I get this failure of asterisk to start: [pbx_realtime.so]Apr 25 03:36:41 WARNING[8269]: loader.c:726 __load_resource: new style pbx_realtime.so (0x31) loaded RTLD_LOCAL => (Realtime Switch) [chan_mgcp.so]Apr 25 03:36:41
2011 Apr 25
3
Interrupting C++ code execution
Hello, I am writing an R interface for one of my C++ programs. The computations in C++ are very time consuming (several hours), so the user needs to be able to interrupt them. Currently, the only way I found to do so is calling R_CheckUserInterrupt() frequently. Unfortunately, there are several problems with that: 1. Calling R_CheckUserInterrupt() interrupts immediately, so I have no
2005 Feb 11
1
Re: [R-SIG-Mac] Bug running pbinom() in R-GUI?
On Feb 10, 2005, at 7:38 PM, George W. Gilchrist wrote: > Today I was running a graduate level stats lab using R and we > encountered a > major problem while using the current build of the Cocoa GUI: > >> From the GUI: >> system.time(pbinom(80, 1e5, 806/1e6)) > [1] 14.37 4.94 30.29 0.00 0.00 >> > >> From the command line on the same machine: >>
2010 Sep 28
1
checking user interrupts in C(++) code
Hello, My problem is that I have an extension in C++ that can be quite time-consuming. I'd like to make it interruptible. The problem is that if I use the recommended R_CheckUserInterrupt() method I have no possibility to cleanup (e.g. free the memory). I've seen an old thread about this, but I wonder if there's a new and definitive answer. I just do not understand why a simple
2023 May 02
1
save.image Non-responsive to Interrupt
? Sat, 29 Apr 2023 00:00:02 +0000 Dario Strbenac via R-devel <r-devel at r-project.org> ?????: > Could save.image() be redesigned so that it promptly responds to > Ctrl+C? It prevents the command line from being used for a number of > hours if the contents of the workspace are large. This is ultimately caused by serialize() being non-interruptible. A relatively simple way to hang
2006 Apr 17
1
cdr_pgsql failing to load in head
I've just upgrade to the latest head (20843) and I get the following error .Apr 17 08:41:07 WARNING[8527]: loader.c:726 __load_resource: new style cdr_pgsql.so (0x0) loaded RTLD_LOCAL Apr 17 08:41:07 WARNING[8527]: loader.c:744 __load_resource: Key routine returned NULL in module /usr/lib/asterisk/modules/cdr_pgsql.so Apr 17 08:41:07 WARNING[8527]: loader.c:753 __load_resource: 5 errors
2006 Sep 09
2
cygwin ssh goes heavy cpu uasage
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I noticed that if I install cygwin ssh on a laptop , the cpu usage goes to 80-90% when not all the network adaptors are connected. how may I assist in reporting this bug better? can some one pls point me to a version compilied with the debug flag? how can I use gdb on windows to report this? Niv -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5
2009 Oct 09
2
Heavy reports with a lot of calculations
Hello, I am working on reports now where we are using MySQL (InnoDB) and Rails 2.3.4. Tables are big and there are a lot of calculation with several big tables. Please give me some suggestions whether there any gem, plugin, articles, or techniques that allows me to create heavy reports. I am even going to use cron job that allows me to calculate some middle data in order to provide heavy
2003 Jun 18
0
iptables add - heavy on cpu time
I have a firewall (No NAT - just routing) configuration with a large number of chains and rules. I am now testing it on RH9 and it seems to take 100% user CPU time for more than 30 minutes for the script to run (I am still waiting for it to finish) On RH7.1 a similar set of rules takes about 30 seconds to load (also at around 100% cpu) Is this a known "feature" or am I missing
2011 May 01
1
regressing on variable with heavy tails
I have a dependent variable with is very peaked and has heavy tails, something I haven't encountered before. (histogram: http://postimage.org/image/2sw9bn8pw/). What could be an appropriate family or transformation to do regress on this?-- View this message in context: http://r.789695.n4.nabble.com/regressing-on-variable-with-heavy-tails-tp3486973p3486973.html Sent from the R help mailing list
2009 Jan 03
0
kcapid heavy cpu usage
Hi, We are running java application on centos4 update 5 64 bit on sun blade x6250 hardware.But for the last couple of days we observed that kacpid daemon eating more cpu.Attached the top output below.Can any one suggest me how to fix the same since it is my critical production i need your help urgently . Top output PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 27
1999 Apr 19
0
heavy performance problems - Samba 2.0.3 - NT SVPR4
hi everybody, my samba performance is very bad. in my 100 MBit network the file transfer between nt und my samba linux (2.0.34 , 2.0.3) is terrible. from nt to nt 70 Mbytes are 2 times faster than the same 70 MBytes from Linux (i.g. samba) to nt workstation. where the hell is the problem und where can i find the solution ??? is it a problems with the passwords ?? cause all users can connect from