this is a job for the VM profiler. I expect it will zero in on the cause PDQ.<br><br><div class="gmail_quote">On Thu, Sep 22, 2011 at 10:32 AM, Tudor Girba <span dir="ltr"><<a href="mailto:tudor@tudorgirba.com">tudor@tudorgirba.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi,<br>
<br>
I looked a bit into the slowness of the OS X Jenkins Cog VM with Monticello. The problem exists and it is reproducible.<br>
<br>
I performed the following experiments using the following script:<br>
<br>
Time millisecondsToRun:<br>
[ 1 to: 100 do: [:x |<br>
| window |<br>
window := MCWorkingCopyBrowser new show.<br>
window delete ] ]<br>
<br>
I ran it on the same image using the following vms (on Mac OS X Lion):<br>
- Jenkins VM from 31.08.2011<br>
- Cog VM r2489<br>
<br>
I ran the scenario twice with two different setups:<br>
<br>
1. I placed the image in an empty folder:<br>
<br>
Cog VM 2389: 4808 ms<br>
Jenkins VM: 7345 ms<br>
<br>
2. I places the image in a folder that already had a large package-cache with 7400 mcz files:<br>
Cog VM: 4867 ms<br>
Jenkins VM: 50754 ms<br>
<br>
<br>
So:<br>
- even if there is no package cache, the Jenkins VM seems to perform 1.5 times slower<br>
- when there is a package-cache, it becomes hardly unusable.<br>
<br>
Cheers,<br>
Doru<br>
<br>
<br>
On 8 Sep 2011, at 12:10, Tudor Girba wrote:<br>
<br>
> Hi,<br>
><br>
> I did not forget about this, but I did not have enough time yet.<br>
><br>
> Cheers,<br>
> Doru<br>
><br>
><br>
> On 26 Aug 2011, at 14:40, Igor Stasenko wrote:<br>
><br>
>><br>
>> On 26 August 2011 13:30, Tudor Girba <<a href="mailto:tudor@tudorgirba.com">tudor@tudorgirba.com</a>> wrote:<br>
>>> Hi,<br>
>>><br>
>>> Since a couple of weeks I am working with the Cog VM built on Jenkins:<br>
>>> <a href="https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-Mac-Cocoa/" target="_blank">https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-Mac-Cocoa/</a><br>
>>><br>
>>> Here is a little feedback. It worked quite well, the only problem is that Monticello is really slow in the Moose image. This means that even opening the Monticello Browser takes several seconds.<br>
>>><br>
>>> I thought that this might be induced by something in the Moose image, but if I try with the Elliot's VM (2489), it works blazingly fast.<br>
>>><br>
>><br>
>> Thanks for the information, Tudor.<br>
>> Apparently the difference between Eliot's VM and Cog-Mac-Cocoa that<br>
>> they are using different frameworks<br>
>> (Carbon vs Cocoa)<br>
>> and i don't know too much details about the difference there.<br>
>> John or Esteban may have better insights how to fix that.<br>
>><br>
>>> Cheers,<br>
>>> Doru<br>
>>><br>
>>><br>
>>> --<br>
>>> <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
>>><br>
>>> "The coherence of a trip is given by the clearness of the goal."<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Best regards,<br>
>> Igor Stasenko AKA sig.<br>
><br>
> --<br>
> <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
><br>
> "Yesterday is a fact.<br>
> Tomorrow is a possibility.<br>
> Today is a challenge."<br>
><br>
><br>
><br>
<font color="#888888"><br>
--<br>
<a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>
<br>
"Sometimes the best solution is not the best solution."<br>
<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>