UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2007-07-23 07:51 AM

urw
Member
Registered: 2007-07-16
Posts: 9

Re: Process size and performance

Does the size of the process's virtual memory has any affect of the performance ?
If for example process A has a space address (virtual memory) of 20 MB and process B has a space address of 200 MB and both are implementing the same goal (same requirement), will the performance of A be better, and if so then why ?
(Assuming we refer only to this issue, i.e. both use the most efficient calls, etc and only differ in the size issue).

Thanks.

Offline

#2 2007-07-23 10:38 AM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: Process size and performance

For all practical purposes, no, they will have the same performance.

In theory the extra management of the more virtual pages for B will cause slightly more work to do for the kernel in certain circumstances, but those are rare and the difference is unnoticable enough that you can ignore it.

Offline

#3 2007-07-23 05:20 PM

urw
Member
Registered: 2007-07-16
Posts: 9

Re: Process size and performance

Thanks.

Offline

Board footer

Powered by FluxBB