English 中文(简体)
解冻页是否停止了程序?
原标题:Does unix page out stopped processes?
  • 时间:2011-10-26 19:19:59
  •  标签:
  • unix
  • signals

如果我缺席向联塔办事处发出一个进程,这一进程将停止采用锁定的周期,但似乎不会从真正的记忆中卸下。 这种行为是否因执行而有所不同,或者是否有办法迫使一个过程消失? 我使用BSD Unix(MacOS)。

最佳回答

虽然我可以具体谈论黑板,但通常以团结为本的非洲顾问在联塔办事处一时即刻赢得。 原因有几个:

  1. Paging out requires I/O bandwidth; using up I/O bandwidth needlessly might actually slow your computer down.
  2. Often processes aren t stopped very long; particularly if you re debugging! For all the OS knows you ll resume it before it even finishes paging out.
  3. There s no real need to force-page-out. Over time, if there actually is memory pressure, unused data will be paged out, eventually.
问题回答

暂无回答




相关问题
Generate assembler code from C file in linux

I would like to know how to generate assembler code from a C program using Unix. I tried the gcc: gcc -c file.c I also used firstly cpp and then try as but I m getting errors. I m trying to build an ...

Function to create the array by reading the file

I am creating scripts which will store the contents of pipe delimited file. Each column is stored in a separate array. I then read the information from the arrays and process it. There are 20 pipe ...

Compare characters at the end of the string C++

This program supposed to find command line arguments entered on Unix which ends with “.exe”. For some reason it doesn t work. Here is the code: int main( int argc, char* argv[] ) { for ( int ...

Batch Job Dependencies Using Open Source/Free Software

I run a large data warehouse plant where we have a lot of nightly jobs running concerruently however many have dependencies on a extract or data load process before they start. Currently we use an ...

Writing application for both Unix and Windows

I ll write a program for Interactive UNIX (http://en.wikipedia.org/wiki/INTERACTIVE_UNIX). But in a year it will be ported to Windows. I ll write it in ANSI C and/or SH-script. When it runs on Windows ...

Development Environment in Windows [closed]

What are your recommendations for setting up a development environment in Windows, especially when not using an IDE. I am attempting to familiarize myself with Windows, and I feel a bit lost. What ...

热门标签