Process ID and special processes

本文介绍了进程ID的特点,包括其唯一性和复用机制,并详细解释了操作系统中几个关键的特殊进程,如调度进程(swapper)、初始化进程(init)和页守护进程(pagedaemon)的功能与重要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Process ID and special processes

(From 8.2. Process Identifiers)

 

Process ID

1. Keywords: unique, reuse

 

2. "unique: "Because the process ID is the only well-known identifier of a process that is always unique, it is often used as a piece of other identifiers, to guarantee uniqueness."

 

3.reuse: Instant reuse? no. "Most UNIX systems implement algorithms to delay reuse so that newly created processes are assigned IDs different from those used by processes that terminated recently. This prevents a new process from being mistaken for the previous process to have used the same ID."

 

Special processes

 

1. NOTE: the details differ from implementation to implementation.

2. ALL:

0         swapper (scheduler process)       system process

1         init process                              user process                

2         pagedaemon                            kernel process (NOTE: on some virtual memory implementations of the UNIX System)

 

About swapper:

"No program on disk corresponds to this process, which is part of the kernel and is known as a system process."

 

About init process:

" Invoked by the kernel at the end of the bootstrap procedure. The program file for this process was /etc/init in older versions of the UNIX System and is /sbin/init in newer versions. This process is responsible for bringing up a UNIX system after the kernel has been bootstrapped. init usually reads the system-dependent initialization files (the /etc/rc* files or /etc/inittab and the files in /etc/init.d)and brings the system to a certain state, such as multiuser. The init process never dies. It is a normal user process, not a system process within the kernel, like the swapper, although it does run with superuser privileges. Later in this chapter, we'll see how init becomes the parent process of any orphaned child process."

 

About pagedaemon:

"This process is responsible for supporting the paging of the virtual memory system."

支持虚存存储系统的请页操作 

3. What is bootstrap?

bootstrap是皮鞋后部的一条小带子或一个小环,它可以使你方便地把鞋子穿起来。在计算机中,是指使用一个很小的程序将某个特定的程序(通常是指操作系统)载入计算机中。在生活中指的是,引导在付出一点努力后就能取得更大且更有意义的成果这个过程中起着杠杆作用。还有一句很通俗的表述,用你的引导性思维使自己前进,意思是说在一个低的人生起点阶段要想尽办法使自己取得成功。

 

4. Kernel processes provide operating system services, for example, pagedaemon.

 

Figure 1.1

Figure 1.2

我帮你复制它的首页内容: The Client/Server Solution for Mission Critical Transaction Processing The System The need for PC-based, networked, mission-critical transaction processing applications becomes more pressing each year, but good solutions are not easy to find. Today's offerings in the desktop client/server market either cannot handle the performance and reliability needs of mission critical applications, or are overly expensive to develop and maintain. That's why we created TxServer. Specifically designed for high performance transaction processing, it is running today on hundreds of servers and thousands of clients worldwide. Customers depend on it for mission critical applications that include order processing, real-time monitoring, inventory control, billing, pharmacy sales, and many others. Users find TxServer to be a complete and cost-effective solution, with the additional benefits of rapid application development, high performance and data integrity, and lower system administration and support costs. Architecture TxServer's unique architecture tightly binds the client application to the server, all the way from application development through application modifications, and finally to delivered operational runtime. TxServer delivers application development and runtime, communications, and server management in a single integrated package. The benefits of this architecture begin during application development, where the path from system requirements to completed application is fast and smooth. At runtime, the close co-operation between client and server delivers superior performance. Equally importantly, system integration and support costs are substantially lower, since it is not necessary to integrate software from many different vendors. When application requirements change, TxServer tracks application version tightly, guaranteeing that the application delivered to the field always matches the customer's database in the field. Performance TxServer delivers true client/server distribution of workload, with processing properly shared between client and server. Clients process applications, while the server handles transaction management, communications, and database management, all with pre-emptive multithreaded multitasking. This lets the clients perform application calculations at the same time data requests are being processed in the server. Demand paging of the application into the client dramatically improves performance. And if this client-based performance is still not enough, TxServer allows up to 512 "drone" application processes to run in the background (in the server or slave server), doing batch processing or special event-driven tasks. "The development cycle is far shorter than with other products, because TxServer automatically deals with so many of the issues - like concurrency control, setting relations, and data integrity - which have to be programmed in with other approaches. And it's a complete system for deployment and field maintenance, so you don't have any of the typical problems of trying to work with other front ends, back ends, and tools from different vendors like you would with other systems." Value-Added Reseller Contact us for further information.
最新发布
08-09
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值