- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Hyperthreading and memory allocation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 03:16 AM
тАО01-06-2005 03:16 AM
PID USER RSS SHARE %CPU %MEM TIME COMMAND
14665 root 2.4G 2422M 21.1 65.2 1229m src
14670 root 2.4G 2422M 0.0 65.2 0:00 src
14671 root 2.4G 2422M 0.1 65.2 14:46 src
tks,
ppaa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 06:16 AM
тАО01-06-2005 06:16 AM
Re: Hyperthreading and memory allocation
Are you sure that 3 PIDs are because of HT ?
I don't think so. In my opinion you have 3 instances of "src" running. We can define it better if you show us the ppid for those pids.
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:35 AM
тАО01-06-2005 08:35 AM
Re: Hyperthreading and memory allocation
root 14665 1 5 2004 ? 21:37:02 src
root 14670 14665 0 2004 ? 00:00:00 src
root 14671 14670 0 2004 ? 00:15:25 src
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:48 AM
тАО01-06-2005 08:48 AM
Re: Hyperthreading and memory allocation
As xyko mentioned I don't think it is because of Hyper threading.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 09:35 AM
тАО01-06-2005 09:35 AM
SolutionIf you use 'ps -elf | grep src$', you'll see the relations, both with the PPID, PID, as well as the thread type.
Now, as it's a parent/child situation, they can share memory space, so I'd assume most of the 2.4GB allocated memory is shared.
It's the one application/process, just has children spawned off it to control separate functions.
On solaris, it showing only one process is just the way it handles threading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2005 01:40 AM
тАО01-07-2005 01:40 AM
Re: Hyperthreading and memory allocation
It is a standard threading (parent/child situation). Indeed, whether it is hyper or not doesn't really matter.
What I am really curious and would like your thoughts is whether te 2.4G is shared or not, and how can I verify this.
As I mentioned, while the common sense it that it is shared, my machine is consuming 7.2+G of memory - and this is the only major process running.
I want to find out if; this is how it should be or, it is a memory leak. Is there anyway I can verify the pointers for each separate PID?
FYI this is ASE 2.1, on Solaris it doesn't happen, (it is 2.4 max mem).
pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2005 02:56 AM
тАО01-07-2005 02:56 AM
Re: Hyperthreading and memory allocation
in my opinion each src process is consuming 2.4 Gb of phisical memory. It's what RSS parameter of top is showing to us.
Call TOP and isssue M subcommand to sort the output by memory consumption and see what it shows to you.
Search RSS on TOP man page to understand my point.
Regards,
Xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2005 09:14 AM
тАО01-09-2005 09:14 AM
Re: Hyperthreading and memory allocation
Yes, 'rss' shows memory used by a process, but 'share' shows how much of it is SHARED, i.e. 2422M of it (all of it).
As for what's usnig the memory, start by looking at the 'cache' and the 'buffers' values in top (or in /proc/meminfo).
Otherwise, 'ps -elf' is your friend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 12:42 AM
тАО01-10-2005 12:42 AM
Re: Hyperthreading and memory allocation
I still agree that rss is the amount of real memory allocated to the pid. I may be wrong but ....
I found some information regarding that stuff that may help us.
http://mirror.hamakor.org.il/archives/linux-il/12-2003/7374.html
regards all,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2005 06:03 AM
тАО01-13-2005 06:03 AM