<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SHAOS &#187; cube</title>
	<atom:link href="https://shaos.net/blog/category/apple/cube/feed" rel="self" type="application/rss+xml" />
	<link>https://shaos.net/blog</link>
	<description>{ Personal Blog of Shaos }</description>
	<lastBuildDate>Mon, 04 Aug 2025 00:15:41 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Black big-endian and little-endian</title>
		<link>https://shaos.net/blog/2009/08/black-big-endian-and-little-endian.html</link>
		<comments>https://shaos.net/blog/2009/08/black-big-endian-and-little-endian.html#comments</comments>
		<pubDate>Fri, 21 Aug 2009 04:52:00 +0000</pubDate>
		<dc:creator><![CDATA[Shaos]]></dc:creator>
				<category><![CDATA[altivec]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[ppc]]></category>

		<guid isPermaLink="false">http://shaos.net/blog4/?p=37</guid>
		<description><![CDATA[This is my home working place where I can port software from little-endian machine to big-endian:Red table bought in IKEA. Right-bottom: Systemax server with Intel Core 2 Duo 2.6 ГГц (Slackware 12.2). Right-top: PowerMac G4 Cube (colored to black) with Debian 5.0 and preloaded libfreevec. Left-bottom: subwoofer Logitech, power adapter for Cube and Gigabit switch. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This is my home working place where I can port software from little-endian machine to big-endian:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/ShaosComps2009-big-756732.jpg"><img style="cursor: pointer; width: 300px; height: 400px;" src="http://shaos.net/blog/uploaded_images/ShaosComps2009-big-756332.jpg" alt="" border="0" /></a><br />Red table bought in IKEA. Right-bottom: Systemax server with Intel Core 2 Duo 2.6 ГГц (Slackware 12.2). Right-top: <a href="http://shaos.net/blog/2009/02/g4-cube.html">PowerMac G4 Cube</a> (<a href="http://shaos.net/blog/2009/02/my-g4-cube-turns-black.html">colored to black</a>) with Debian 5.0 and <a href="http://shaos.net/blog/2009/03/vectorized-memcpy-on-g4-cube.html">preloaded libfreevec</a>. Left-bottom: subwoofer Logitech, power adapter for Cube and Gigabit switch. Left-top: UPS CyberPower 1500AVR. In the center under the table: KVM IOGEAR (switching USB keyboard+mouse and VGA between both machines). In the center on the table: display SAMSUNG SyncMaster 204B (20.5&#8242; with ratio 4:3), Logitech audio speakers and microphone RadioShack. Also you can see black &#8220;Das Keyboard&#8221; that doesn&#8217;t have any characters on it <img src="https://shaos.net/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>https://shaos.net/blog/2009/08/black-big-endian-and-little-endian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vectorized memcpy on G4 Cube</title>
		<link>https://shaos.net/blog/2009/03/vectorized-memcpy-on-g4-cube.html</link>
		<comments>https://shaos.net/blog/2009/03/vectorized-memcpy-on-g4-cube.html#comments</comments>
		<pubDate>Tue, 03 Mar 2009 00:41:00 +0000</pubDate>
		<dc:creator><![CDATA[Shaos]]></dc:creator>
				<category><![CDATA[altivec]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[ppc]]></category>

		<guid isPermaLink="false">http://shaos.net/blog4/?p=32</guid>
		<description><![CDATA[Again I tested new hardware using my memcpy benchmark &#8211; now for my 1st desktop on Intel Core 2 Duo 2.6 GHz and my 2nd desktop on PowerPC G4 450 MHz (black G4 Cube). Here you can see not-aligned (nal) and aligned (al) results and also &#8220;vectorized&#8221; results (G4-450v-nal and G4-450v-al) where memcpy was AltiVec [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Again I tested new hardware using my <a href="http://shaos.net/blog/files/test_g4.c">memcpy benchmark</a> &#8211; now for my 1st desktop on Intel Core 2 Duo 2.6 GHz and my 2nd desktop on PowerPC G4 450 MHz (<a href="http://shaos.net/blog/2009/02/my-g4-cube-turns-black.html">black G4 Cube</a>). Here you can see not-aligned (nal) and aligned (al) results and also &#8220;vectorized&#8221; results (G4-450v-nal and G4-450v-al) where <span style="font-style: italic;">memcpy</span> was AltiVec optimized version from <a href="http://www.codex.gr/content/libfreevec_104">libfreevec v1.0.4</a>.</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/memcpy-cube-739321.png"><img style="cursor: pointer; width: 400px; height: 360px;" src="http://shaos.net/blog/uploaded_images/memcpy-cube-739317.png" alt="" border="0" /></a></p>
<p>P.S. If you want optimized AltiVec versions of such functions as <span style="font-style: italic;">bmove512, memccpy, memchr, memcmp, memcpy, memfrob, memmove, mempcpy, memrchr, memset, strcmp, strcpy, strlen, strncmp, strncpy, strnlen</span> and <span style="font-style: italic;">swab</span> for everything in your Linux system, then just put (of course after successful libfreevec installation) line <span style="font-style: italic;">/usr/local/lib/libfreevec_libc.</span><span style="color: rgb(32, 32, 32);"><span style="font-style: italic;">so</span> to file </span><span style="font-family: monospace;"></span><span style="font-style: italic;">/etc/ld.</span><span style="color: rgb(32, 32, 32); font-style: italic;">so</span><span style="font-style: italic;">.</span><span style="color: rgb(32, 32, 32);"><span style="font-style: italic;">preload</span> (you can create this file if it&#8217;s not yet available) &#8211; thanks to </span><a href="http://www.freevec.org/content/howto_using_libfreevec_using_ld_preload">Konstantinos Margaritis</a><span style="color: rgb(32, 32, 32);"> (author of <a href="http://www.freevec.org/">libfreevec</a>)!</p>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>https://shaos.net/blog/2009/03/vectorized-memcpy-on-g4-cube.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My G4 Cube turns BLACK</title>
		<link>https://shaos.net/blog/2009/02/my-g4-cube-turns-black.html</link>
		<comments>https://shaos.net/blog/2009/02/my-g4-cube-turns-black.html#comments</comments>
		<pubDate>Sat, 28 Feb 2009 03:10:00 +0000</pubDate>
		<dc:creator><![CDATA[Shaos]]></dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[ppc]]></category>

		<guid isPermaLink="false">http://shaos.net/blog4/?p=31</guid>
		<description><![CDATA[I decided to use G4 Cube as my second desktop computer. But my first desktop PC is black. So I bought black enamel spray for a reason to paint Cube to black color. The subject to turn black is internal metallic case:Now I have stylish black colored G4 Cube with Debian GNU/Linux 5.0 &#8220;Lenny&#8221; on [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I decided to use <a href="http://shaos.net/blog/2009/02/g4-cube.html">G4 Cube</a> as my second desktop computer. But my first desktop PC is black. So I bought black enamel spray for a reason to paint Cube to black color. The subject to turn black is internal metallic case:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/G4_Cube_black_process-720869.jpg"><img style="cursor: pointer; width: 262px; height: 400px;" src="http://shaos.net/blog/uploaded_images/G4_Cube_black_process-720536.jpg" alt="" border="0" /></a><br />Now I have stylish black colored G4 Cube with Debian GNU/Linux 5.0 &#8220;Lenny&#8221; on board <img src="https://shaos.net/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> <br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/G4_Cube_black-732930.jpg"><img style="cursor: pointer; width: 261px; height: 400px;" src="http://shaos.net/blog/uploaded_images/G4_Cube_black-732619.jpg" alt="" border="0" /></a><br />P.S. Lenny believes that X.org became smart enough to do all configuration by itself (xorg.conf is almost empty by default). In result I had 800&#215;600 instead of 1280&#215;1024, and to make correct resolution working I manually added parameters HorizSync and VertRefresh to section &#8220;Monitor&#8221; of xorg.conf&#8230;</p>
<p>Update: <a href="http://shaos.net/blog/2009/08/black-big-endian-and-little-endian.html">Black big-endian and little-endian</a></p>
]]></content:encoded>
			<wfw:commentRss>https://shaos.net/blog/2009/02/my-g4-cube-turns-black.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G4 Cube</title>
		<link>https://shaos.net/blog/2009/02/g4-cube.html</link>
		<comments>https://shaos.net/blog/2009/02/g4-cube.html#comments</comments>
		<pubDate>Sat, 07 Feb 2009 07:00:00 +0000</pubDate>
		<dc:creator><![CDATA[Shaos]]></dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[distributed_computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[ppc]]></category>

		<guid isPermaLink="false">http://shaos.net/blog4/?p=29</guid>
		<description><![CDATA[Finally I did it &#8211; I bought G4 Cube for myself! $250 (plus shipping) for PowerPC G4 450 MHz system is a little bit expensive, but it&#8217;s CUBE: It even has &#8220;cracks&#8221; (as probably all G4 cubes Of course I put Debian GNU/Linux on it and removed MacOS 9.2 that was preinstalled there. One strange [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Finally I did it &#8211; I bought <a href="http://en.wikipedia.org/wiki/G4_cube">G4 Cube</a> for myself! $250 (plus shipping) for PowerPC G4 450 MHz system is a little bit expensive, but it&#8217;s CUBE:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/G4_Cube-779734.jpg"><img style="cursor: pointer; width: 300px; height: 400px;" src="http://shaos.net/blog/uploaded_images/G4_Cube-779066.jpg" alt="" border="0" /></a></p>
<p>It even has &#8220;cracks&#8221; (as probably all G4 cubes <img src="https://shaos.net/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> <br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/G4_Cube_crack-745219.jpg"><img style="cursor: pointer; width: 300px; height: 400px;" src="http://shaos.net/blog/uploaded_images/G4_Cube_crack-744789.jpg" alt="" border="0" /></a><br />Of course I put Debian GNU/Linux on it and removed MacOS 9.2 that was preinstalled there.</p>
<p>One strange (for me) thing about G4 Cube is its power button that is not a button at all&#8230;<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/g4_cube_power-783816.jpg"><img style="cursor: pointer; width: 400px; height: 192px;" src="http://shaos.net/blog/uploaded_images/g4_cube_power-783809.jpg" alt="" border="0" /></a></p>
<p>Now I can measure power usage of my electric devices, and as we can se Cube eats only 30 watts (actually it goes between 25 and 45 watts):<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shaos.net/blog/uploaded_images/g4_cube_watts-755897.jpg"><img style="cursor: pointer; width: 242px; height: 400px;" src="http://shaos.net/blog/uploaded_images/g4_cube_watts-755895.jpg" alt="" border="0" /></a></p>
<p>Probably I will use this G4 Cube in my home &#8220;grid&#8221; network for distributed computing&#8230;</p>
<p>Updated: <a href="http://shaos.net/blog/2009/02/my-g4-cube-turns-black.html">Cube became black!</a></p>
]]></content:encoded>
			<wfw:commentRss>https://shaos.net/blog/2009/02/g4-cube.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
