03-13-2013
Quote:
Originally Posted by
DGPickett
I am not sure why these have to be pinned. Pinning is usually for peripheral/I/O support or the paranoid.
Ahem, "pinned" is not "shared". It is just that most of the standard applications which use pinned memory (foremost Oracle DB) also use shared memory segments to a large extent. Therefore i took an "educated guess" that maybe the presence of pinned memory hints at such a software being used. Why they do it that way? Ask Oracle! I just administrate machines running their product.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have a question, can you guys please help me by giving your valuable suggestons:
I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (1 Reply)
Discussion started by: kollam68
1 Replies
2. AIX
Hi All,
I have a question, can you guys please help me by giving your valuable suggestons:
I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (3 Replies)
Discussion started by: kollam68
3 Replies
3. AIX
Hi,
We have AIX 5.1 machine of RAM 8 GB and paging space is 8GB. we are getting high memory usage of almost 99%.Can anybody please help in this ?
Partial vmstat o/p
kthr memory
----- -----------
r b avm fre
2 1 278727 1143
There is no paging issue.Becoz in... (5 Replies)
Discussion started by: jayakumarrt
5 Replies
4. AIX
How to check the memory usage on AIX by various processes? (1 Reply)
Discussion started by: aajmani
1 Replies
5. UNIX for Dummies Questions & Answers
Can any one suggest me, how to get the last week's (Last n weeks) average CPU utilization and Memory usage? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
7. AIX
hi,
I want to ask , my AIX 6.1 is always used about 97% memory.
Is this normal ?
or any command can free up memory like Linux ?
thanks. (1 Reply)
Discussion started by: virusxx
1 Replies
8. AIX
How to find the memory utilization of AIX server using svmon -G output.
Sample output for svmon -G command from my AIX test server,
size inuse free pin virtual
memory 4014080 3995443 18637 575916 1876393
pg space 1179648 ... (3 Replies)
Discussion started by: maruthu
3 Replies
9. AIX
Hi All,
I have some questions regarding the performance, MEMORY/ Virtual Memory (paging /swap space)
Please see the nmon-MEMORY stats from my AIX LPAR.
24 GB --> RAM
3456 MB --> Paging Space
│ Memory ───────────────────────────────────────────────────────────────────────
│... (8 Replies)
Discussion started by: System Admin 77
8 Replies
10. AIX
Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance.
The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space.
The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies
LEARN ABOUT CENTOS
__get_user_pages
__GET_USER_PAGES(9) Memory Management in Linux __GET_USER_PAGES(9)
NAME
__get_user_pages - pin user pages in memory
SYNOPSIS
long __get_user_pages(struct task_struct * tsk, struct mm_struct * mm, unsigned long start, unsigned long nr_pages, unsigned int gup_flags,
struct page ** pages, struct vm_area_struct ** vmas, int * nonblocking);
ARGUMENTS
tsk
task_struct of target task
mm
mm_struct of target mm
start
starting user address
nr_pages
number of pages from start to pin
gup_flags
flags modifying pin behaviour
pages
array that receives pointers to the pages pinned. Should be at least nr_pages long. Or NULL, if caller only intends to ensure the pages
are faulted in.
vmas
array of pointers to vmas corresponding to each page. Or NULL if the caller does not require them.
nonblocking
whether waiting for disk IO or mmap_sem contention
DESCRIPTION
Returns number of pages pinned. This may be fewer than the number requested. If nr_pages is 0 or negative, returns 0. If no pages were
pinned, returns -errno. Each page returned must be released with a put_page call when it is finished with. vmas will only remain valid
while mmap_sem is held.
Must be called with mmap_sem held for read or write.
__get_user_pages walks a process's page tables and takes a reference to each struct page that each user address corresponds to at a given
instant. That is, it takes the page that would be accessed if a user thread accesses the given user virtual address at that instant.
This does not guarantee that the page exists in the user mappings when __get_user_pages returns, and there may even be a completely
different page there in some cases (eg. if mmapped pagecache has been invalidated and subsequently re faulted). However it does guarantee
that the page won't be freed completely. And mostly callers simply care that the page contains data that was valid *at some point in time*.
Typically, an IO or similar operation cannot guarantee anything stronger anyway because locks can't be held over the syscall boundary.
If gup_flags & FOLL_WRITE == 0, the page must not be written to. If the page is written to, set_page_dirty (or set_page_dirty_lock, as
appropriate) must be called after the page is finished with, and before put_page is called.
If nonblocking != NULL, __get_user_pages will not wait for disk IO or mmap_sem contention, and if waiting is needed to pin all pages,
*nonblocking will be set to 0.
In most cases, get_user_pages or get_user_pages_fast should be used instead of __get_user_pages. __get_user_pages should be used only if
you need some special gup_flags.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 __GET_USER_PAGES(9)