Questions tagged [offloading]

This tag is for questions about software which utilize mechanisms for reducing workload from the CPU. This can be done by aggregating work before further processing is done and/or processing some of the workload in a dedicated hardware.

This tag is for questions about software which utilize mechanisms for reducing workload from the CPU. This can be done by aggregating work before further processing is done and/or processing some of the workload in a dedicated hardware.

Common offloads are network stack offloads such as LRO, GRO, TSO, etc. Other offloads are CPU offloads such as Intel's AES-NI for IPSec.

Offloads can be multi-layered, for example OVS (Open Virtual Switch) has a service for identifying and creating steering rules for packets. The user space service will offload the steering to the kernel software. Specific hardware can process the steering itself, so the kernel might offload to the hardware.

Common questions about offloads

  • How does specific offloads work?
  • How to enable offloads for specific cases?
  • What is the benefit of using specific offload?
111 questions
3
votes
2 answers

what exactly does it mean to not do work in the database if we can do it elsewhere?

http://www.percona.com/ppc2009/PPC2009_Boring_MySQL.pdf: Don't do work in the database if you can do it elsewhere I must say I don't quite understand this statement. Can someone elaborate on it? Does it mean the we should enforce integrity on the…
houyi77
  • 153
  • 5
3
votes
3 answers

Offload App remove what in iOS 11

I just installed iOS 11 beta and I noticed that Offload App, By offloading app what will be remove Shared Directory or User Default or remove both or other than this ? Looking for suggestions. Thanks
Aleem
  • 3,173
  • 5
  • 33
  • 71
3
votes
1 answer

Hangfire: enqueue background job from inside a critical section

I'm getting an error trying to enqueue a job inside a lock statement. lock (lockObj) { BackgroundJob.Enqueue(() => MyJob()); } It complains to distributed transactions being disabled. But I don't want my locks influence on job processing. If I…
3
votes
1 answer

ARR with SSL offloading: app needs to know it was SSL

I have set up a web farm with ARR, using SSL offloading. Although the connection from ARR to the content site is proceeding with just HTTP, the application running on the site needs to know the original URL was HTTPS, so that links given in the…
Ross Presser
  • 6,027
  • 1
  • 34
  • 66
3
votes
1 answer

Reason to use declare target pragma in OpenMP

I wonder what is the reason to use the declare target directive. I can simply use target {, data} map (to/from/tofrom ...) in order to specify which variables should be used by the device. As for the functions, is that compulsory for a function…
Maxim Blumental
  • 763
  • 5
  • 26
2
votes
1 answer

How to correctly use the update() clause in OpenMP

I have a program that was originally being executed sequentially and now I'm trying to parallelize it via OpenMP Offloading. The thing is that when I use the update clause, depending on the case, if I include the size of the array I want to move it…
gamersensual
  • 105
  • 6
2
votes
0 answers

Python C extension compiled with nvc++ OpenMP offloading cannot run on GPU

I have a Python extension in C/C++ that I want to use OpenMP offloading with. Using NVIDIA's nvc++, compiling works out as well as using/running the extension in python. The problem ist that it's not using the GPU by default. Setting…
ThiloOS
  • 92
  • 7
2
votes
1 answer

GPU array addition using OpenMP

I am trying out OpenMP offloading with an nvidia GPU and I am trying to do some array calculations with it in C++. Right now my output is not desirable, as I am new with offloading calculations with OpenMP. Would appreciate if someone can point me…
2
votes
1 answer

How to use TCP Checksum offloading with RAW sockets

(Using Linux) Creating TCP packets using raw sockets - it turns out that calculating the checksum is the bottleneck for me, in high performance networks. Since the NIC's would support checksum offloading, and ethtool also says that it is enabled, I…
david
  • 113
  • 7
2
votes
1 answer

Centralizing outgoing two-way SSL connections

We are currently using Apache to handle incoming SSL requests. These are two-way SSL connections. Apache accepts the https connection and pass the request on as http connection to the application server. This works well for us. We would like to use…
nidkil
  • 21
  • 2
2
votes
1 answer

OpenMP 4.5 runtime functions not supported in PGI

When I try and compile the following code #include #include #include int main (void) { int sum = 0; #pragma omp target teams distribute parallel for reduction(+:sum) defaultmap(tofrom:scalar) for(int i = 0 ; i <…
Z boson
  • 32,619
  • 11
  • 123
  • 226
2
votes
0 answers

gcc 7.2 and nvptx nvidia gpu offloading

gcc supports offloading openmp code to nvidia cards since gcc version 7.1 but I'm unable to use it. I'm on ubuntu 17.10 and I have installed nvptx-tools and gcc-offload-nvptx packages. when I try to compile openmp target code I get this error ptxas…
Mohibeyki
  • 459
  • 6
  • 16
2
votes
0 answers

Problems with GCC7 (trunk) OpenACC offloading (nvptx)

I have been trying to use gcc (trunk version) offloading but so far I am failing to do so. I compiled gcc following the instructions for OpenACC offloading with nvidia from this site: https://gcc.gnu.org/wiki/Offloading I also compiled the host…
AstrOne
  • 3,569
  • 7
  • 32
  • 54
2
votes
1 answer

gcc - openacc - Compiled program does not function properly

Recently, there have been some efforts in GCC community to support OpenACC in their compiler. So, I wanted to try it out. Using this step-by-step tutorial (tutorial), which was close to the main documentation on GCC website, I was able to compile…
mgNobody
  • 738
  • 7
  • 23
2
votes
1 answer

What it takes to make OpenACC/OpenMP4.0 offloading to nvidia/mic work om GCC?

I am trying to understand how exactly I can use OpenACC to offload computation to my nvidia GPU on GCC 5.3. The more I google things the more confused I become. All the guides I find, they involve recompiling the entire gcc along with two libs…
AstrOne
  • 3,569
  • 7
  • 32
  • 54