<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Which is better Linux and Windows?]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=3017&amp;type=atom"/>
	<updated>2014-01-23T02:50:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=3017</id>
		<entry>
			<title type="html"><![CDATA[Re: Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=930210#p930210"/>
			<content type="html"><![CDATA[<p>Thanks for the hint.&nbsp; I&#039;ll update my scripts.</p><p>Another item I&#039;ve run into -- newer CPUs take a nice with on-demand power saving.&nbsp; I have a wide variety of CPUs running Linux servers at work and newer CPUs are much more aggressive at throttling down.&nbsp; Option 1 would be to shutdown throttling whenever PTQ runs:</p><p>&nbsp; service cpuspeed stop<br />&nbsp; /.../Pianoteq\ 4<br />&nbsp; service cpuspeed start</p><p>Or if you prefer to leave PTQ up all the time, set the OS to scale more aggressively using:</p><p>&nbsp; echo 11 &gt; /sys/devices/system/cpu/cpufreq/ondemand/up_threshold</p><p>Increasing the samples buffer also reduces CPU demand.&nbsp; 128-384 are good compromises -- at 512 though, I start feeling the latency.</p>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-01-23T02:50:23Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=930210#p930210</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=930199#p930199"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mossy wrote:</cite><blockquote><p>* Use crontab to renice the priority if your user account does not have sudo rights to renice.&nbsp; Here&#039;s what I have:<br />* * * * * ps -ef | grep -v grep | grep Pianoteq | awk &#039;{print $2}&#039; | xargs renice -10 -p &gt; /dev/null 2&gt;&amp;1</p></blockquote></div><p>Instead, you can simply setup Pianoteq so it has permission to run realtime. To do this, use the following command:</p><p>setcap cap_ipc_lock,cap_sys_nice=ep &quot;/wherever/you/installed/Pianoteq 4/Pianoteq 4&quot;</p>]]></content>
			<author>
				<name><![CDATA[delt]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3623</uri>
			</author>
			<updated>2014-01-22T10:37:48Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=930199#p930199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=930197#p930197"/>
			<content type="html"><![CDATA[<p>I have been playing around with trial 4.5 version on Linux.&nbsp; I&#039;m running Fedora 19 32-bit version -- binaries ran without me needing to install any software but I already had a bunch of ALSA/MIDI libraries installed for PianoBooster.</p><p>I&#039;m using a spare laptop -- a pretty old one from 7+ years ago.&nbsp; The CPU in it is a Pentium T2310 @ 1.45ghz -- roughly a Core 2 Duo without hardware virtualization -- so really it doesn&#039;t have enough power to run Pianoteq at maximum settings.&nbsp; In fact, the first time I started testing it, sound cutoffs and distorted sounds was 25% of the notes.</p><p>A few things I&#039;ve been able to tune to get it working better under Linux:</p><p>* Do not use PulseAudio or JACK.&nbsp; If you don&#039;t need JACK (to connect to other MIDI software), it&#039;s better to output sound directly to the hardware devices.&nbsp; (On this laptop, it shows up as &quot;HDA Intel, 7.1 Surround Sound&quot; -- look for something similar to choose.)&nbsp; Otherwise, the audio servers themselves take up a lot of CPU power.</p><p>* Ignore the recommendations for RT kernels.&nbsp; For MIDI latency, regular kernels work fine and don&#039;t take the RT kernel performance hit.</p><p>* Minimize the window when playing -- that reduces cpu usage by roughly 5%.</p><p>* Use crontab to renice the priority if your user account does not have sudo rights to renice.&nbsp; Here&#039;s what I have:<br />* * * * * ps -ef | grep -v grep | grep Pianoteq | awk &#039;{print $2}&#039; | xargs renice -10 -p &gt; /dev/null 2&gt;&amp;1</p><p>* Set hardware sampling rate to 48KHz, internal sampling rate to 24KHz.</p><p>* Use the &quot;intimate/player&quot; models with less reverb.</p><p>* Set polyphone to Auto (pessmistic)</p><p>* Set buffer size to smallest amount for lower latency.</p><p>With the above options, Pianoteq is very enjoyable to play.&nbsp; It makes me want to hit the ivories/ebonies all the time for practice.</p>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-01-22T08:43:18Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=930197#p930197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=927960#p927960"/>
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Which is better Linux and Windows?</p></blockquote></div><p>Windows according to Crumar/BGMI:&nbsp; ;^) <a href="http://www.pianoworld.com/forum/ubbthreads.php/topics/1420518/Re:%20Is%20there%20such%20thing%20like%20a.html#Post1420518">http://www.pianoworld.com/forum/ubbthre...ost1420518</a></p><p>(alright, they are using Windows XP <em>embedded</em>, so it&#039;s not really a fair comparison. Also a rather old OS now)</p><p>Greg.</p>]]></content>
			<author>
				<name><![CDATA[skip]]></name>
				<uri>https://forum.modartt.com/profile.php?id=353</uri>
			</author>
			<updated>2013-10-08T01:54:24Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=927960#p927960</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=927945#p927945"/>
			<content type="html"><![CDATA[<p>Linux works great but you may need some tweaks to get good realtime performance.&nbsp; Check this for some tips: <a href="http://wiki.linuxaudio.org/wiki/system_configuration">http://wiki.linuxaudio.org/wiki/system_configuration</a></p>]]></content>
			<author>
				<name><![CDATA[varpa]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1918</uri>
			</author>
			<updated>2013-10-07T16:59:09Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=927945#p927945</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=927942#p927942"/>
			<content type="html"><![CDATA[<p>Using linux here, and everything works perfectly....though i&#039;ve never tried the windows version.</p><p>My first guess would be the default levels for your sound chip: try muting stuff like line-in, aux, etc</p>]]></content>
			<author>
				<name><![CDATA[delt]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3623</uri>
			</author>
			<updated>2013-10-07T12:02:38Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=927942#p927942</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Which is better Linux and Windows?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=927936#p927936"/>
			<content type="html"><![CDATA[<p>Hi all,<br />Are there anyone who tried running Pianoteq on both of Linux and Windows?<br />I am facing some ploblem that discontinue noise come out only on Linux.<br />My pc is not that great pc, and I am thinking this is a performance problem.<br />Someone advised me to use rt patched kernel, However It was even worse than stock kernel.<br />Could you share me your tries?</p><p>I am using asio4all on Windows and Jack2 on archlinux with internal sound chip.</p><p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[geneven]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3741</uri>
			</author>
			<updated>2013-10-07T04:50:52Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=927936#p927936</id>
		</entry>
</feed>
