12-26-2010
Yes, disk space, swap space, swap rate are still challenges. I wish they would focus on making priority and sharing more intelligent in the kernel. For instance, if the system seems to be thrashing, then a "max pages owned by any process" limit could be lowered just enough to make the page generators write over their own pages while leaving a reasonable working set for the rest. If a page like a library is disowned by a process, another process may roll it back in and own it to the benefit of the heavy user, but you still do not need to choke it past that. It might be a process with a big working set, bigger than RAM, and giving it most to RAM, but not all, is good. Something like a big sort!
I wish there were separate queues for every priority/nice at every resource, so a nice -19 job can beat on disk as hard as it wants and still leave the door open for more prioritized jobs. Of course, if you want to do disk I/O on a spindle/arm that is reading for someone else, that is a modest delay on every I/O, and some devices have deep internal queues not prioritized.
For swap, you usually want the hammer to fall on a relatively recent piggy app.: less likely approved for so much swap, more relief than small proc's, but I suppose you might have to bundle proc's by terminal and then id to deal with the accidental wave of mosquitoes sort of swap problem. Maybe some sort of slow fork for groups that get too busy, not kills!
Last edited by DGPickett; 12-26-2010 at 02:14 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
2. UNIX for Dummies Questions & Answers
I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start
but savecore failed to create the two files, that is vmcore.n and vmunix.n.
savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname
1)... (4 Replies)
Discussion started by: hassan2
4 Replies
3. Programming
MY friends:
my program under sco unix have a problem?
it create a core dump file on the path when execute program ,
but i can't find the error of the C program ,i don't know how to
see the error about my program use core, please help me
or give me some suggest and what tools can use... (1 Reply)
Discussion started by: zhaohaizhou
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know.
sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies
5. UNIX for Dummies Questions & Answers
Hi All
I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies
6. AIX
My application gives core dump. When i am debugging with dbx getting instructions below:
pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error)
pthreaded.c, 1941: PTHDB_INTERNAL (internal error)
Illegal instruction (illegal opcode) in . at 0x0
warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies
7. Programming
how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies
8. AIX
Hi ,
I want to read core dump file on AIX5.3. While i am trying to use following commands, i am getting only few lines of information.
ux201p3:e46123> dbx capsWrkstnMgr core
Type 'help' for help.
reading symbolic information ...
Segmentation fault in malloc_common.extend_brk at... (1 Reply)
Discussion started by: rps
1 Replies
9. HP-UX
Hi Guys,
I was wondering if somebody could give me a link to a very good source of information or document about core dump process and How to's about it. I have also googled it and found some articles myself.
Thanks
Messi (1 Reply)
Discussion started by: messi777
1 Replies
10. Solaris
Hi guys,
just want to know which core file pattern is best to set for core dumps:
1) per-process file name pattern
or
2) global file name pattern.
I will really appreciate an explanation why the chosen one is better.
Thanks a lot guys. (2 Replies)
Discussion started by: cjashu
2 Replies
LEARN ABOUT HPUX
swapmem_on
swapmem_on(5) OBSOLETE swapmem_on(5)
NAME
swapmem_on - OBSOLETE kernel tunable parameter
DESCRIPTION
The tunable is obsolete. Processes will always be allowed to use pseudo-swap space if it is available.
In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on
the system. This is because HP-UX reserves swap space for a process when it is created, to ensure that a running process never needs to be
killed due to insufficient swap.
This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those with workloads where
the entire load would always be in core. This tunable was created to allow system swap space to be less than core memory. To accomplish
this, a portion of physical memory is set aside as "pseudo-swap" space. While actual swap space is still available, processes still
reserve all the swap they will need at fork or execute time from the physical device or file system swap. Once this swap is completely
used, new processes do not reserve swap, and each page which would have been swapped to the physical device or file system is instead
locked in memory and counted as part of the pseudo-swap space.
WARNINGS
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters swapmem_on(5)