-
December 22nd, 2008, 05:46 PM
#1
handles and computer performance
1)what are execlly handels?
2)if i have a software on aserver,which i se that hold say 100,000 handels or more does this effect the server performance?how can i check it? did any one read an article about this issue?
thnaks in advance
peleg
-
December 22nd, 2008, 06:07 PM
#2
Re: handles and computer performance
1) A Handle is something (completely undefined as to content) that allows something else to reference something.
2) The number of handles has little to do with performance. Assuming you are running Windows, start with using PerfMon.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 23rd, 2008, 11:11 AM
#3
Re: handles and computer performance
In fact, A Handle is a system pointer. You should not worried about performance impact of Handle on system performance
Life is similar to ....., if you cannot resist it, you should relax and enjoy it.
-
December 23rd, 2008, 11:25 AM
#4
Re: handles and computer performance
Originally Posted by Fireseed
In fact, A Handle is a system pointer. You should not worried about performance impact of Handle on system performance
Handles are NOT (necessarily) pointers. They can be many things (some are indices into an array, some are simply timestamps, others are internal undocumented values).
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 23rd, 2008, 11:42 AM
#5
Re: handles and computer performance
Originally Posted by TheCPUWizard
Handles are NOT (necessarily) pointers. They can be many things (some are indices into an array, some are simply timestamps, others are internal undocumented values).
Handle isn't a simple point on significance, whereas it is used as a point in code.
you may see following in winnt.h
Code:
typedef void *HANDLE;
Life is similar to ....., if you cannot resist it, you should relax and enjoy it.
-
December 25th, 2008, 11:54 PM
#6
Re: handles and computer performance
If your application is a long running application, then handle leak is serious problem. In Windows if the handle count exceeds above a certain limit( not sure about the exact limit count ), there is a big possibility of application crash. So better to avoid the handle leak.
-
December 25th, 2008, 11:56 PM
#7
Re: handles and computer performance
Originally Posted by ajaywinds
If your application is a long running application, then handle leak is serious problem. In Windows if the handle count exceeds above a certain limit( not sure about the exact limit count ), there is a big possibility of application crash. So better to avoid the handle leak.
1) There is a difference between a leak, and valid usage [the post indicates NOTHING about leaks]
2) There is no overcall count or limit. Certain types of RESOURCES have limits, but that is a totally different issue.
So I fail to see what your post contributes to the actual situation that has been described, other than a statement of the obvious in a general way.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 26th, 2008, 12:18 AM
#8
Re: handles and computer performance
Originally Posted by Fireseed
Handle isn't a simple point on significance, whereas it is used as a point in code.
I don't know what all that means. A "handle" is just an informal way to specify some value type that the user uses in a program. It really has no definite meaning. For example, file handles, image handles, they could be pointers, structs, typedefs, or anything the author wishes them to be.
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|