Sponsored Content
Full Discussion: Paging without Scanning
Operating Systems Solaris Paging without Scanning Post 83268 by Perderabo on Tuesday 13th of September 2005 11:40:25 AM
Old 09-13-2005
Programs are started with no pages mapped and then page fault themselves into memory. This means that only the portions or a program that are used actually consume memory. That has been going on for a very long time and it means that page-ins are normal.

Memory mapped files allow a process to map a datafile into the process memory. By moving stuff into this region, a file write is implied and this results in a page-out. If the file was also in the buffer cache, the cache would need to be updated. Solaris no longer uses the buffer cache except for meta-data. Data is loaded into pages as needed in a unified manner. If scan rate is zero, you are not out of free memory. Page-ins and page-outs will happen a lot.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

-Computer hangs when scanning ports-

Hi everyone, I 've just installed Mandrake Linux v8.0 and everything worked fine untill, i think after having booted from Windows 2000, my computer 'hangs' at the pixelated pinguin startup screen and displays something like: Winbond Super Something Now scanning ports: 3f0 2f8 320 110 ... (3 Replies)
Discussion started by: Phaelanx
3 Replies

2. UNIX for Dummies Questions & Answers

scanning empty directories

Hi, I want to produce a text file representing a list of empty directories on a unix system starting from a specified directory. I hope I explained well my problem. Thanks in advance. (7 Replies)
Discussion started by: N065956BM
7 Replies

3. Shell Programming and Scripting

scanning for '0' value in .txt file

Hello I am a novice shell scripting programmer, so please bare with me. I have embedded a simple SQL statement into a shell script, which simply returns an integer (its a count (*) statement). The result of the statement is then oputput to .txt file. So, the number could be 0, 1,2, 10,... (4 Replies)
Discussion started by: man80
4 Replies

4. UNIX for Advanced & Expert Users

Scanning file backwards

Is there any way to look for a directory path that is listed any number of lines *before* a keyword in an error message? I have a script that is trying to process different files that are always down a certain portion of a path, and if there is an error, then says there is an error, contact... (2 Replies)
Discussion started by: tekster757
2 Replies

5. Solaris

virus scanning options?

we have a mjial server running on solaris 9. we have about 10K attachment a day that we need to scan for virus type things. in the past we have been using Mcafee. problem is that since the new 5.10 version we find it is running too slow. the question is what AV products are can run on... (0 Replies)
Discussion started by: robsonde
0 Replies

6. UNIX for Advanced & Expert Users

find application that are scanning the network

Hi, I got a alert from network security that one of hpux server is running tcp port scan on the network, this server is running informix server and i am not aware of any application that is scanning the network. what are ways to findout the which application and user is doing the scan? (1 Reply)
Discussion started by: robertngo
1 Replies

7. UNIX for Dummies Questions & Answers

scanning the file for a particular column

I have a file containing 4 columns. need to scan that file, if all the rows in the column4 have a value ZERO, it should print "everything is fine". And if all are not ZERO , at the first encounter of non ZERO value of 4th column it should print "some problem " may be a silly question, but at... (11 Replies)
Discussion started by: gotam
11 Replies

8. Red Hat

Dm devices not created while scanning

Hello, I have Red Hat 5.7 running on HP hardware box. All file systems (except root) are in LVM. I have to create a new file-system and Storage team allocated 8 luns to this server. I scanned them on OS level with below command for x in {0..9}; do echo '- - -' > /sys/class/scsi_host/host$x/scan;... (0 Replies)
Discussion started by: solaris_1977
0 Replies
SF_BUF(9)						   BSD Kernel Developer's Manual						 SF_BUF(9)

NAME
sf_buf -- manage temporary kernel address space mapping for memory pages SYNOPSIS
#include <sys/sf_buf.h> struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); void sf_buf_free(struct sf_buf *sf); vm_offset_t sf_buf_kva(struct sf_buf *sf); struct vm_page * sf_buf_page(struct sf_buf *sf); DESCRIPTION
The sf_buf interface, historically the sendfile(2) buffer interface, allows kernel subsystems to manage temporary kernel address space map- pings for physical memory pages. On systems with a direct memory map region (allowing all physical pages to be visible in the kernel address space at all times), the struct sf_buf will point to an address in the direct map region; on systems without a direct memory map region, the struct sf_buf will manage a temporary kernel address space mapping valid for the lifetime of the struct sf_buf. Call sf_buf_alloc() to allocate a struct sf_buf for a physical memory page. sf_buf_alloc() is not responsible for arranging for the page to be present in physical memory; the caller should already have arranged for the page to be wired, i.e., by calling vm_page_wire(9). Several flags may be passed to sf_buf_alloc(): SFB_CATCH Cause sf_buf_alloc() to abort and return NULL if a signal is received waiting for a struct sf_buf to become available. SFB_NOWAIT Cause sf_buf_alloc() to return NULL rather than sleeping if a struct sf_buf is not immediately available. SFB_CPUPRIVATE Cause sf_buf_alloc() to only arrange that the temporary mapping be valid on the current CPU, avoiding unnecessary TLB shoot- downs for mappings that will only be accessed on a single CPU at a time. The caller must ensure that accesses to the virtual address occur only on the CPU from which sf_buf_alloc() was invoked, perhaps by using sched_pin(). Call sf_buf_kva() to return a kernel mapped address for the page. Call sf_buf_page() to return a pointer to the page originally passed into sf_buf_alloc(). Call sf_buf_free() to release the struct sf_buf reference. The caller is responsible for releasing any wiring they have previously acquired on the physical page; sf_buf_free() releases only the temporary kernel address space mapping, not the page itself. Uses of this interface include managing mappings of borrowed pages from user memory, such as in zero-copy socket I/O, or pages of memory from the buffer cache referenced by mbuf external storage for sendfile(2). SEE ALSO
sendfile(2), vm_page_wire(9) AUTHORS
The struct sf_buf API was designed and implemented by Alan L. Cox. This manual page was written by Robert N. M. Watson. BSD
January 28, 2007 BSD
All times are GMT -4. The time now is 02:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy