latency

How many memory latency cycles per memory access type in OpenCL/CUDA?

孤者浪人 提交于 2019-12-09 12:57:45
问题 I looked through the programming guide and best practices guide and it mentioned that Global Memory access takes 400-600 cycles. I did not see much on the other memory types like texture cache, constant cache, shared memory. Registers have 0 memory latency. I think constant cache is the same as registers if all threads use the same address in constant cache. Worst case I am not so sure. Shared memory is the same as registers so long as there are no bank conflicts? If there are then how does

Finding latency issues (stalls) in embedded Linux systems

馋奶兔 提交于 2019-12-09 10:53:30
问题 I have an embedded Linux system running on an Atmel AT91SAM9260EK board on which I have two processes running at real-time priority. A manager process periodically "pings" a worker process using POSIX message queues to check the health of the worker process. Usually the round-trip ping takes about 1ms, but very occasionally it takes much longer - about 800ms . There are no other processes that run at a higher priority. It appears the stall may be related to logging (syslog). If I stop logging

How to measure latency in a wifi network java android

本小妞迷上赌 提交于 2019-12-08 13:44:42
问题 I am developing a mobile app, I need some parameters to implement the algorithm, and I do not know how to measure latency in a wifi network. Some people says using ping, but I do not know how implement this. This is my first question, I am learning. Thank you. 回答1: Please have a look at this answer it might be what you are after you might want to try the following code sample to measure time to do something String host = "172.16.0.2"; int timeout = 3000; long beforeTime = System

High latency on my Wordpress Site

偶尔善良 提交于 2019-12-08 07:40:59
问题 I am trying to reduce the latency on site goldealers.co.uk The site appears to have a latency of anywhere between 950ms and 1500ms. I have checked: Processes RAM usage HTTP connections Ping Removing ALL plugins Removing plugins doesn't make the slightest bit of difference. The server is a VPS Cloud Server with dedicated 1.5ghz processor and 1GB RAM. My question: Is latency a server / programming problem? Do wordpress sites generally have a high latency? I have checked the latency on Forbes

Why do I get IPC delays on 20% busy machine

不羁的心 提交于 2019-12-08 06:37:54
问题 I am getting delays on IPC on a single machine that has 10 cores and is running 47 instances of my ClientApp which are all communicating with the MasterApp. I appear to get severe latency on occasion. Here is part of my log. The DateTime on the left is the log DateTime(a high perf logger). The DateTimes within the [] are the times the message was sent from the MasterApp. Each message terminates with an @. So the first message is only 1ms behind, but the last is 71ms behind. Any ideas what

Dojo on a CDN vs own install

ぐ巨炮叔叔 提交于 2019-12-07 10:43:43
问题 I use quite a lot of Dojo, but to date I've only used it by including from a CDN such as AOL/Google. Are there advantages to hosting a copy of Dojo rather than using it via a CDN? I don't have much need to alter the code base, but I imagine there are other advantages/disadvantages? 回答1: by hosting your own Dojo env. you are for example able to make a custom build of dojo. So you only need to load one *.js file. That saves traffic used by the xhr requests. -jstr 回答2: Disadvantage to hosting

How to reduce CUDA synchronize latency / delay

不想你离开。 提交于 2019-12-07 02:47:05
问题 This question is related to using cuda streams to run many kernels In CUDA there are many synchronization commands cudaStreamSynchronize, CudaDeviceSynchronize, cudaThreadSynchronize, and also cudaStreamQuery to check if streams are empty. I noticed when using the profiler that these synchronize commands introduce a large delay to the program. I was wondering if anyone knows any means to reduce this latency apart from of course using as few synchronisation commands as possible. Also is there

Why do I get IPC delays on 20% busy machine

一曲冷凌霜 提交于 2019-12-06 21:34:24
I am getting delays on IPC on a single machine that has 10 cores and is running 47 instances of my ClientApp which are all communicating with the MasterApp. I appear to get severe latency on occasion. Here is part of my log. The DateTime on the left is the log DateTime(a high perf logger). The DateTimes within the [] are the times the message was sent from the MasterApp. Each message terminates with an @. So the first message is only 1ms behind, but the last is 71ms behind. Any ideas what might cause this and what I might do to get rid of the latency 20141030T120401.015 [--------*MD|USD/JPY

Detect or Approximate Bluetooth Latency on Android (Audio Playback)

橙三吉。 提交于 2019-12-06 20:47:55
问题 I am currently working on an Android audio visualizer using connected smart home devices (such as Philips hue) to visualize music. I have trouble compensating the delay caused by bluetooth speakers. I have noticed, that the Youtube app, in difference to many other video streaming apps, has almost no delay between audio and video, when using bluetooth speakers. I figure, that they must compensate for the bluetooth latency by adjusting (delaying) the video signal. Is there a reasonable way of

Is it possible to retrieve the MS / Latency from a “GET” request? (Javascript / Jquery)

南笙酒味 提交于 2019-12-06 05:20:19
I am at the moment making some getjson requests with jquery. They are get requests: "GET http://localhost/MySite/JSON " Now you can watch the requests fire in firebug. Then they return a "200 OK 250ms" . I would like to be able to display something similar on my page itself. So the user can see the latency for themselves. Firebug Image http://testnscale.com/blog/wp-content/uploads/2009/12/firebug.png Image found via google from http://testnscale.com Is it possible to retrieve the MS / Latency from a "GET" request? jAndy Just try it and check if those values you're measuring are the same or