<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>MySQL-dump - Operating System</title>
    <link>http://mysqldump.azundris.com/</link>
    <description>my life with MySQL</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:mysqldump@mysqldump.azundris.com" />
    <generator>Serendipity 1.2-beta2 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://mysqldump.azundris.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: MySQL-dump - Operating System - my life with MySQL</title>
        <link>http://mysqldump.azundris.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Notes on VM</title>
    <link>http://mysqldump.azundris.com/archives/62-Notes-on-VM.html</link>
            <category>Operating System</category>
            <category>PHP</category>
    
    <comments>http://mysqldump.azundris.com/archives/62-Notes-on-VM.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=62</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    Even when it is being repeated &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=540&amp;amp;entry_id=62&quot; title=&quot;http://blog.coggeshall.org/archives/214_Top_30_Scalability_Mistakes_Slides.html&quot;  onmouseover=&quot;window.status=&#039;http://blog.coggeshall.org/archives/214_Top_30_Scalability_Mistakes_Slides.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;once more&lt;/a&gt; it is not true: &lt;blockquote&gt;Stripping binaries using the &amp;#8216;strip&amp;#8217; utility can also significantly reduce the memory footprint of the application&lt;/blockquote&gt; claims John Coggeshall.&lt;br /&gt;
&lt;br /&gt;
While it is true that a file is smaller on disk after a strip, a quick run of &quot;size&quot; on a binary will show you that the actual binary part of the file is unchanged. Let&#039;s have a quick look at /proc/&lt;i&gt;pid&lt;/i&gt;/maps to understand what happens.&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/62-Notes-on-VM.html#extended&quot;&gt;Continue reading &quot;Notes on VM&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 15 Oct 2006 12:14:13 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/62-guid.html</guid>
    
</item>
<item>
    <title>Using oprofile</title>
    <link>http://mysqldump.azundris.com/archives/61-Using-oprofile.html</link>
            <category>Operating System</category>
    
    <comments>http://mysqldump.azundris.com/archives/61-Using-oprofile.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=533&amp;amp;entry_id=61&quot; title=&quot;http://oprofile.sourceforge.net&quot;  onmouseover=&quot;window.status=&#039;http://oprofile.sourceforge.net&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Oprofile&lt;/a&gt; is a profiling tool that requires no instrumentation and can profile an entire system. Binaries with symbol tables (-g compiled binaries) and an uncompressed Kernel with symbol table are helpful.&lt;br /&gt;
&lt;br /&gt;
Oprofile is capable of monitoring and analyzing a running -g compiled mysqld and can tell you which functions are using the most CPU time.&lt;br /&gt;
&lt;br /&gt;
Sample output:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;CPU&amp;#58;&amp;#160;CPU&amp;#160;with&amp;#160;timer&amp;#160;interrupt,&amp;#160;speed&amp;#160;0&amp;#160;MHz&amp;#160;&amp;#40;estimated&amp;#41;&lt;br /&gt;
Profiling&amp;#160;through&amp;#160;timer&amp;#160;interrupt&lt;br /&gt;
samples&amp;#160;&amp;#160;%&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;image&amp;#160;name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;symbol&amp;#160;name&lt;br /&gt;
197404&amp;#160;&amp;#160;&amp;#160;22.4460&amp;#160;&amp;#160;libc-2.3.4.so&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;memcpy&lt;br /&gt;
165764&amp;#160;&amp;#160;&amp;#160;18.8484&amp;#160;&amp;#160;no-vmlinux&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#40;no&amp;#160;symbols&amp;#41;&lt;br /&gt;
76051&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8.6475&amp;#160;&amp;#160;mysqld.debug&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;_mi_rec_unpack&lt;br /&gt;
30059&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3.4179&amp;#160;&amp;#160;mysqld.debug&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Query_cache&amp;#58;&amp;#58;insert_into_&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;free_memory_sorted_list&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#40;Query_cache_block&amp;#42;,&amp;#160;Query_cache_block&amp;#42;&amp;#42;&amp;#41;&lt;br /&gt;
17468&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1.9862&amp;#160;&amp;#160;mysqld.debug&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;get_hash_link&lt;br /&gt;
16767&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1.9065&amp;#160;&amp;#160;mysqld.debug&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ha_key_cmp&lt;br /&gt;
14106&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1.6039&amp;#160;&amp;#160;mysqld.debug&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;MYSQLparse&amp;#40;void&amp;#42;&amp;#41;&lt;/div&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/61-Using-oprofile.html#extended&quot;&gt;Continue reading &quot;Using oprofile&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 10 Oct 2006 13:37:01 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/61-guid.html</guid>
    
</item>
<item>
    <title>A quick tour of DRBD</title>
    <link>http://mysqldump.azundris.com/archives/56-A-quick-tour-of-DRBD.html</link>
            <category>Operating System</category>
    
    <comments>http://mysqldump.azundris.com/archives/56-A-quick-tour-of-DRBD.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=56</wfw:comment>

    <slash:comments>10</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=56</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 300px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!--s9ymdb:15--&gt;&lt;img width=&#039;300&#039; height=&#039;237&#039;  src=&quot;http://mysqldump.azundris.com/uploads/vmware-drbd.png&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Snapshot of the vmware config used (two running instances required for the example)&lt;/div&gt;&lt;/div&gt; This is a quick tour of DRBD and how it compares to local RAID and to MySQL replication. DRBD is short for &quot;distributed raw block device&quot;, so what it does is essentially RAID-1 over a network cable. You will be able to have two copies of a block device on two different physical machines, one of them the primary, active node and the other one a secondary, passive node.&lt;br /&gt;
&lt;br /&gt;
The DRBD tour in this blog post has been created on two vmware instances with a Suse 10.0 Professional installation on each which I am using to show the most essential features of DRBD. Each vmware has a bit of memory, a network card, a boot disk with a text only Suse 10 installation and a second simulated 1 GB SCSI disk besides the boot disk to demonstrate stuff. The two instances are connected on a simulated local vmnet instance and share the 10.99.99.x/24 network, they are called left&lt;br /&gt;
(10.99.99.128) and right (10.99.99.129).&lt;br /&gt;
&lt;br clear=&#039;all&#039; /&gt; &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/56-A-quick-tour-of-DRBD.html#extended&quot;&gt;Continue reading &quot;A quick tour of DRBD&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 08 Aug 2006 21:25:00 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/56-guid.html</guid>
    
</item>
<item>
    <title>A quick tour of LVM</title>
    <link>http://mysqldump.azundris.com/archives/54-A-quick-tour-of-LVM.html</link>
            <category>Operating System</category>
    
    <comments>http://mysqldump.azundris.com/archives/54-A-quick-tour-of-LVM.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=54</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 354px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!--s9ymdb:14--&gt;&lt;img width=&#039;354&#039; height=&#039;398&#039;  src=&quot;http://mysqldump.azundris.com/uploads/vmware.png&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;The vmware config used for this example.&lt;/div&gt;&lt;/div&gt; This is a quick tour of LVM and a demonstration how it is superior to static partitions. Basically, LVM provides you with a way to create dynamic partitions - you will be able to grow and shrink partitions on demand, move them between disks and snapshot them for backup, all while the filesystem and database on top of it are active and busy. &lt;br /&gt;
&lt;br /&gt;
The LVM tour in this blog post has been created on a vmware instance with a Suse 10.0 Professional installation which I am using to show a combination of RAID and LVM configuration examples. The vmware has a bit of memory, a network card, a boot disk with a text only Suse 10 installation and 8 small simulated SCSI disks besides the boot disk to demonstrate stuff.&lt;br /&gt;
&lt;br /&gt;
Here is the configuration for the basic system.&lt;br /&gt;
&lt;br clear=&#039;all&#039; /&gt; &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/54-A-quick-tour-of-LVM.html#extended&quot;&gt;Continue reading &quot;A quick tour of LVM&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 22 Jun 2006 20:33:37 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/54-guid.html</guid>
    
</item>
<item>
    <title>How much memory can a process use?</title>
    <link>http://mysqldump.azundris.com/archives/26-How-much-memory-can-a-process-use.html</link>
            <category>Operating System</category>
    
    <comments>http://mysqldump.azundris.com/archives/26-How-much-memory-can-a-process-use.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=26</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=26</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    If you run the following program as a non-root user, you will see exactly how much memory a single process can allocate on your Linux system. The program is simple, it gets memory in 1MB chunks until it is shot down by the Operating System. In order to prevent overcommitment, the memory allocated is actually written to with memset().&lt;br /&gt;
&lt;br /&gt;
On a Debian 2.4 smp kernel with 4 GB of RAM, it stops at 2933 MB.&lt;br /&gt;
&lt;br /&gt;
(via Torsten Sievers)&lt;br /&gt;
&lt;br clear=&#039;all&#039; /&gt; &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/26-How-much-memory-can-a-process-use.html#extended&quot;&gt;Continue reading &quot;How much memory can a process use?&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 24 Nov 2005 15:46:57 +0100</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/26-guid.html</guid>
    
</item>

</channel>
</rss>