Sponsored Content
Full Discussion: Kernel Parameters
Operating Systems Solaris Kernel Parameters Post 302481179 by jegaraman on Friday 17th of December 2010 12:27:41 AM
Old 12-17-2010
Hi Murphy,

Thanks for the info that you have send.

One of my doubt is whether a Solaris 10 should have all the Kernel Parameters mentioned in your link page or is any thing less is enough.

Bcos I have been asked here , to evaluate whether all the kernel parameter are good in our existing system.

The existing setup has

Code:
* Begin MDD root info (do not edit)
rootdev:/pseudo/md@0:0,0,blk
* End MDD root info (do not edit)
set pg_contig_disable=1
* Begin user_stack parameter for oracle
set noexec_user_stack=1
set nautopush=64
set sd:sd_io_time=30
set scsi_reset_delay=500
set rlim_fd_curr=4096
set rlim_fd_max=65536
set noexec_user_stack=1
set semsys:seminfo_semmnu=16384
set semsys:seminfo_semmni=16384
set semsys:seminfo_semmsl=1024
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=16384
set shmsys:shminfo_shmmin=1
* End of user_Stack for oracle
* Message queues
set msgsys:msginfo_msgmap=500
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgmni=256
set msgsys:msginfo_msgssz=32
set msgsys:msginfo_msgtql=500
set msgsys:msginfo_msgseg=8192

Kindly reply.

Last edited by DukeNuke2; 12-17-2010 at 03:22 AM..
 

10 More Discussions You Might Find Interesting

1. HP-UX

Display Kernel Parameters

Good Day Please couls somebody tell me how to display Configurable Kernel parameters from the command line. I am able to do it from SAM,but would like to dump the command line output to a text file so I can email it off to HP. Kind Regards Shawn (1 Reply)
Discussion started by: shawnbishop
1 Replies

2. UNIX for Advanced & Expert Users

Tunable kernel parameters

Hi all, I'm at SCO UNIXWARE 7.1.1, my system's memory is larger than dump device, I have found one kernel tunable parameter at SCO website ie SYSDUMP_SELECTIVE which tells me that if set to 1 system will dump only kernel mapped memory, but I'm not sure how to configure this parameter. As well... (2 Replies)
Discussion started by: tayyabq8
2 Replies

3. HP-UX

kernel parameters

I want to change some kernel parameters in HP-UX11, to do with Oracle upgrade/install. I know this is done using SAM. I am told SAM will not let you enter values outside the allowable range. Could anyone tell me if they have experienced anything different? In Solaris, I would copy the... (2 Replies)
Discussion started by: malcqv
2 Replies

4. HP-UX

Need to look at Kernel parameters

Hello all, Can anyone tell me the command line I can use to look at the following Kernel parameters: nfile maxfile maxfile_lim I'm using the Reflection manager connection to my Unix box so I can't use SAM. (3 Replies)
Discussion started by: impunchdrunk
3 Replies

5. HP-UX

Kernel parameters.

I've been trying to find out the following parameters of our Unix box: ==>OS version ==> patch level and the following kernel parameters =>maxfiles_lim =>maxvgs =>nproc =>msgmni =>ncsize =>nfile Could someone help me how would I find the above(commands)? Thanks, Bhagat (1 Reply)
Discussion started by: bhagat.singh-j
1 Replies

6. HP-UX

Adding new kernel parameters

Hi, I'm new to HP-UX. i'm working on HP-UX 11.31 ia64 for testing our product i could able to change the kernel parameter values and i need to add the following parameters to the parameters list semmap = 258 nfile = 2048 msgseg = 7168 msgssz = 32 maxusers = 60 msgmap = 258 msgmax =... (4 Replies)
Discussion started by: jo09
4 Replies

7. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

8. Linux

kernel module parameters

Hi, if I install a module with specific parameter, will this parameters applied next time system boots? for exampe, I want to disable InterruptThrottleRate modprobe e1000e InterruptThrottleRate=0 Is this parameter apllied only for this run, or this module will always use this parameter when... (2 Replies)
Discussion started by: Shedon
2 Replies

9. Solaris

Kernel Parameters

Dear All, I have weblogic Portal Installed in the Server solaris 10. How can i verify whether all the kernel parameters are available for this Software and also another question is How to crosscheck a server ( Solaris 10 Sparc ) whether it has all the required kernel parameters. ... (2 Replies)
Discussion started by: jegaraman
2 Replies

10. UNIX for Dummies Questions & Answers

What exactly does Kernel parameters do ?

Virtual Machine running on VMWare workstation 9.2 os : RHEL 5.8 RAM : 2.5GB Swap : 2.6gb CPU : 1 virtual CPU Surprizingly I couldn't find much from googling on What exactly does Kernel parameters do ? I was under the impression that kernel parameters just set the limits/maximum for a... (2 Replies)
Discussion started by: John K
2 Replies
RFIO_PRESEEK(3) 					      Rfio Library Functions						   RFIO_PRESEEK(3)

NAME
rfio_preseek - prefetch chunks of data from a file SYNOPSIS
#include <sys/types.h> #include "rfio_api.h" int rfio_preseek (int s, const struct iovec *iov, int iovnb); Under Linux, for large files: #define _LARGEFILE64_SOURCE #include <sys/types.h> #include "rfio_api.h" int rfio_preseek64 (int s, const struct iovec64 *iov, int iovnb); For large files, under other systems: #include <sys/types.h> #include "rfio_api.h" int rfio_preseek64 (int s, const struct iovec64 *iov, int iovnb); DESCRIPTION
rfio_preseek prefetches chunks of data at given offsets into an internal buffer (on the client side), using the descriptor s generated by a previous rfio_open. The actual offset values and the lengths are given in the array of structures iov. The number of chunks is specified by iovnb. rfio_preseek64 does the prefetch for large files, using an array of structures of type iovec64 rather than an array of iovec. RFIO_READOPT must be set to RFIO_READBUF, which is the default. The default internal buffer size is 128 kB, but the buffer size can be set with an entry RFIO IOBUFSIZE in shift.conf. Then rfio_read gets the data from that buffer. EXAMPLES
/* tpreseek - write NBRECORDS_TOWRITE records and read back NBRECORDS_TOREAD using the rfio_preseek function */ #include <fcntl.h> #include <stdio.h> #if defined(_WIN32) #include <winsock2.h> #endif #include "rfio_api.h" #define NBRECORDS_TOREAD 5 #define NBRECORDS_TOWRITE 10 main(argc, argv) int argc; char **argv; { char buf[65536]; int errflg = 0; int fd; int i; struct iovec iov[NBRECORDS_TOREAD]; int iovnb = NBRECORDS_TOREAD; int j; static int lengths[NBRECORDS_TOWRITE] = {4096, 32768, 16384, 8192, 65536, 32768, 16384, 4096, 65536, 8192}; static int records_toread[NBRECORDS_TOREAD] = {2, 4, 5, 8, 9}; #if defined(_WIN32) WSADATA wsadata; #endif if (argc != 2) { fprintf (stderr, "usage: tpreseek pathname "); exit (1); } #if defined(_WIN32) if (WSAStartup (MAKEWORD (2, 0), &wsadata)) { fprintf (stderr, "WSAStartup unsuccessful "); exit (2); } #endif while (! errflg) { /* Write variable length records. * Each record is filled with the record index */ if ((fd = rfio_open (argv[1], O_WRONLY|O_CREAT|O_TRUNC, 0644)) < 0) { rfio_perror ("rfio_open"); errflg++; break; } for (j = 0; j < NBRECORDS_TOWRITE; j++) { for (i = 0; i < lengths[j]; i++) buf[i] = j; if (rfio_write (fd, buf, lengths[j]) < 0) { rfio_perror ("rfio_write"); errflg++; break; } } (void)rfio_close (fd); if (errflg) break; /* Prefetch a few records: the actual offsets and lengths * of the records is set in the array of iov structures */ if ((fd = rfio_open (argv[1], O_RDONLY)) < 0) { rfio_perror ("rfio_open"); errflg++; break; } for (j = 0; j < NBRECORDS_TOREAD; j++) { /* compute record offset */ iov[j].iov_base = 0; for (i = 0; i < records_toread[j]; i++) iov[j].iov_base = (char *) iov[j].iov_base + lengths[i]; /* set length */ iov[j].iov_len = lengths[records_toread[j]]; } if (rfio_preseek (fd, iov, iovnb) < 0) { rfio_perror ("rfio_preseek"); errflg++; break; } /* Read back the records and check their cpntents */ for (j = 0; j < NBRECORDS_TOREAD; j++) { if (rfio_lseek (fd, (off_t) iov[j].iov_base, SEEK_SET) < 0) { rfio_perror ("rfio_lseek"); errflg++; break; } if (rfio_read (fd, buf, iov[j].iov_len) < 0) { rfio_perror ("rfio_read"); errflg++; break; } for (i = 0; i < iov[j].iov_len; i++) { if (buf[i] != records_toread[j]) { fprintf (stderr, "incorrect data read, record %d ", records_toread[j]); errflg++; break; } } if (errflg) break; } (void) rfio_close (fd); break; } if (rfio_unlink (argv[1]) < 0) { rfio_perror ("rfio_unlink"); errflg++; } #if defined(_WIN32) WSACleanup(); #endif exit (errflg ? 1 : 0); } RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
EBADF s is not a valid descriptor. EINVAL RFIO_READOPT is not set to RFIO_READBUF. SENOSHOST Host unknown. SENOSSERV Service unknown. SETIMEDOUT Timed out. SEBADVERSION Version ID mismatch. SECONNDROP Connection closed by remote end. SECOMERR Communication error. SENORCODE Host did not return error number. SEE ALSO
rfio_lseek(3), rfio_open(3), rfio_read(3) AUTHOR
LCG Grid Deployment Team LCG
$Date: 2005/03/31 13:13:03 $ RFIO_PRESEEK(3)
All times are GMT -4. The time now is 03:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy