summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-March/013325.html
blob: 84fd7ac174f87fac6846748552c32b2139b22bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] cgroup on the desktop
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20cgroup%20on%20the%20desktop&In-Reply-To=%3C1332347538.19885.9.camel%40foxbase%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="013324.html">
   <LINK REL="Next"  HREF="013255.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] cgroup on the desktop</H1>
    <B>Robert Fox</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20cgroup%20on%20the%20desktop&In-Reply-To=%3C1332347538.19885.9.camel%40foxbase%3E"
       TITLE="[Mageia-dev] cgroup on the desktop">list at foxconsult.net
       </A><BR>
    <I>Wed Mar 21 17:32:18 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="013324.html">[Mageia-dev] cgroup on the desktop
</A></li>
        <LI>Next message: <A HREF="013255.html">[Mageia-dev] Latest kernels vs IDE/libata
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13325">[ date ]</a>
              <a href="thread.html#13325">[ thread ]</a>
              <a href="subject.html#13325">[ subject ]</a>
              <a href="author.html#13325">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, 2012-03-21 at 16:24 +0000, Colin Guthrie wrote:
&gt;<i> 'Twas brillig, and Robert Fox at 20/03/12 08:13 did gyre and gimble:
</I>&gt;<i> &gt; Tried to research it, but it look more like it is for servers than
</I>&gt;<i> &gt; desktop.  Could someone explain what the value-add is of using this on
</I>&gt;<i> &gt; the desktop?
</I>&gt;<i> 
</I>&gt;<i> As used in the context of systemd just a general mechanism for tracking
</I>&gt;<i> processes. In the olden days, a service could exec other binaries quite
</I>&gt;<i> happily. Killing the primary pid of the service meant that any other
</I>&gt;<i> binaries launched were not necessarily killed. This mean that the
</I>&gt;<i> service needed to implement it's own accounting and tracking system and
</I>&gt;<i> there was no way to properly track to what service a given processes
</I>&gt;<i> belongs.
</I>&gt;<i> 
</I>&gt;<i> Now with cgroups, it's possible to fully track all the processes started
</I>&gt;<i> by a given service and kill each of them properly when stopping the service.
</I>&gt;<i> 
</I>&gt;<i> In addition it's also possible to identify to which service a given
</I>&gt;<i> process belongs. e.g. if something is spinning out of control you can
</I>&gt;<i> see it in top and then trace it back to the service itself.
</I>&gt;<i> 
</I>&gt;<i> There are numerous other things that can be done with cgroups such as
</I>&gt;<i> imposing various limits on a given service (and any subsequent processes
</I>&gt;<i> it spawns).
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> Overall this is an accounting mechanism that is something very much
</I>&gt;<i> baked into systemd. It's an integral part of it. It's not something we
</I>&gt;<i> could simply &quot;turn off&quot; on desktops vs. servers.
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> However, this isn't really the right place to discuss this topic.
</I>&gt;<i> 
</I>&gt;<i> Col
</I>&gt;<i> 
</I>
Thanks Col - very informative and helpful!

Cheers,
Robert


</PRE>



























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="013324.html">[Mageia-dev] cgroup on the desktop
</A></li>
	<LI>Next message: <A HREF="013255.html">[Mageia-dev] Latest kernels vs IDE/libata
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13325">[ date ]</a>
              <a href="thread.html#13325">[ thread ]</a>
              <a href="subject.html#13325">[ subject ]</a>
              <a href="author.html#13325">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>