0

I have created a software which is being accessed by remote users through RDP (Remote Desktop Protocol).

Application Platform : C# 3.5 - Windows Form
Current Server that i am using : Windows Server 2008 R2

I am new to online servers and i wanted to know that does RAM consumption affect Network Bandwidth Usage? The reason why i am asking this because when my application performs a heavy calculation which consumes decent amount of RAM (but there is no UI changes), my network bandwidth consumption also spikes up that moment and after the particular calculation is removed from memory the network consumption goes back to normal.

Can anyone tell me is there any relation between RAM and Network Bandwidth usage?

9
  • Are you using any network filesystems? Jun 23, 2016 at 13:46
  • @DavidSchwartz yes i am sure because it was showing my app using the maximum amount of network usage. Jun 24, 2016 at 4:56
  • Something which is not obvious from your question is how you are measuring your network bandwidth usage and bandwidth of what?
    – Ian Murphy
    Jun 24, 2016 at 10:12
  • @IanMurphy i am using "Resource Monitor" which can be accessed from "Task Manager" to see network bandwidth usage of every app. Jun 24, 2016 at 14:02
  • 1
    @Agent_Spock If you are using network filesystems, then this makes perfect sense. When you use a lot of RAM, cache gets discarded to make room in RAM. Then the data has to be acquired from the filesystem, using network bandwidth. Jun 24, 2016 at 17:17

2 Answers 2

0

Not directly, no. If you can get a packet capture on the network utilization during the calculation, you'll see what's using the bandwidth. Perhaps the server has to grab a bunch of data from a backend DB box to perform said calculation - that'd be my guess.

1
  • No the main and only database is at the server and the software also resides on the server itself. Jun 24, 2016 at 4:57
0

The answer according to me is that network bandwidth gets used when heavy memory is consumed by an application (which has 0 affect on UI). This might not sound right to many IT professionals but in my case when i tried to reduce the heavy memory consumption by removing images from the memory automatically the network bandwidth consumption reduced.

Statistics

Before removing image from memory "Network Bandwidth" consumption was 5.2MB/s
After removing image (108 images) from memory "Network Bandwidth" consumption was 720KB/s

Note : All the images that were stored in memory was just in the memory and wasn't displayed on UI and was stored as string format.

1
  • Nothing unusual about this. The larger the working set relative to usable RAM, the more I/O is needed. Jun 27, 2016 at 0:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .