Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: huge difference between running normal_estimation on Mac and Windows

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: huge difference between running normal_estimation on Mac and Windows


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] Re: huge difference between running normal_estimation on Mac and Windows
  • Date: Mon, 29 Aug 2011 14:35:35 +0200

Hi Yifei,

1) Forget the virtual machine and use a real PC in order to compare durations.

2) Check that you run the Release version of normal_estimation on Windows.

3) Watch the Task Manager during normal_estimation execution. Does the application swap?

Best regards,
Laurent Saboret


Le 27/08/2011 20:47, Yifei Li a écrit :


On Sat, Aug 27, 2011 at 11:26 AM, Yifei Li <> wrote:
Hi,

I compiled and ran examples/Point_set_processing_3/normal_estimation.cpp on Mac and Windows respectively, using sphere_20k.xyz as input data.

It ran very fast on Mac:
Normal estimation
Open data/sphere_20k.xyz for reading...
Reads file data/sphere_20k.xyz: 21000 points, 0.355177 seconds
Estimates Normals Direction by Jet Fitting (k=18)...
done: 2.02112 seconds, 2391 Mb allocated
Orients Normals with a Minimum Spanning Tree (k=18)...
done: 0.596141 seconds, 2401 Mb allocated
Write file test.pwn

However, on Windows, it got stuck in normal orientation (I waited at least 10 mins):
Normal estimation
Open ..\data\sphere_20k.xyz for reading...
Reads file ..\data\sphere_20k.xyz: 21000 points, 1.078 seconds
Estimates Normals Direction by Jet Fitting (k=18)...
done: 15.313 seconds, 5 Mb allocated
Orients Normals with a Minimum Spanning Tree (k=18)...

Any idea why there's such a huge difference?

P.S., The Windows machines is a virtual machine with 2GB memory

FYI, the program finished successfully on a physical Windows 7 machine with 2GB memory, but it took about 5mins, which is still much longer than on Mac

Yifei







Archive powered by MHonArc 2.6.16.

Top of Page