I've written a signal processing program in Haskell. I've developed the program on my MacBook Pro, using OS X. I also own a desktop which runs Windows. Since my desktop has a more powerful CPU and GPU, I wanted to test my program on it to see how much quicker it would process certain signals, but I did not expect the results.
On my MacBook Pro, the program finishes in an average of 0.013s. On my Windows desktop, the program finishes in an average of 0.090s. This was extremely surprising to me and I started doubting the power of my desktop.
I also have Windows installed on my MacBook Pro in bootcamp, so I decided to test the program that way as well. In Windows (bootcamp), the program finishes in an average of 0.109s.
How is this possible. Is it normal for there to be a performance difference between Windows and OS X for Haskell. Am I missing something?
Related
I'm using f3, a Linux version of the Windows tool H2testw, to test on a Mac the actual capacity of some flash memory I bought. Trouble is that the quicker test, done via f3probe, is only available for Linux, so I'm using the standard test, via the GUI F3X, which does a full integrity test with f3write/f3write rather than just a total capacity test. Trouble is that the flash I bought is claimed to be 512GB large, so it's taking forever. What are alternative best bets? Running f3probe in a VirtualBox? Running H2testw through Wine?
So I have a question about what system I should use to do some C# development. In my course this year at least half of my courses require me to be using Windows specific programs i.e visio, MSSQL, C# etc. I know there are alternatives but I would like to stick to these. I'm wondering about two choices and wanted to know what people could suggest - I am more concerned with performance issues. I have a Macbook Pro and I could run windows 7 on it under virtualbox where I could give it 4gb of ram. Remember I would need windows open a lot with potentially multiple programs running. I also have a desktop gaming rig from a year ago which is much more grunty and am contemplating just using that instead where I could run windows natively. I would prefer to use the mac, but really what I wanted to know is if anyone else uses windows under vb with 4gb of ram dedicated to it with no performance issues?
It depends on what type development do you want to do ? If you will develop desktop,web,console application 4gb ram will work fine for you but if you develop mobile projects or games it will be a problem future times. I have co-worker friend who using MacBook Air and developing C# programs he is using two OS one of them is orginal MacBook OS other one W8 if you have 2 section HDD you can create another OS on your notebook. I think best solution for this stuiation is setup Windows 8 to your computer.
I installed my .net stuff recently on a Mac, i.e. preinstalled a version of Windows 7 before using Bootcamp. Does anyone have an explanation, why the Windows Phone 7 Simulator is so slow, compared to a Simulator installed on a 'regular' Windows system when deploying a target onto it?
Performance overhead might be caused because of the non-nativity of the hardware platform you are running it on. The emulator itself has a set of requirements - if these aren't met then you should expect serious drops in performance and stability (in case it starts).
When you're comparing the performance "Regular Windows", do you mean on another machine (PC)? If so, it could be down to hardware differences - (Graphics card, processor speed, less RAM, slower hard disk).
It could also be down to drivers - I don't know much about the Mac hardware, but it's possible Windows drivers aren't as good for hardware that's more commonly used by Macs.
Pretty much as the title says, using bootcamp.
WDDM1.1 compliance and GPU recognition confirmed by the WP7 emulator running with EnableFrameRateCounters showing.
I'm considering a Macbook air as a compromise to resolve a need to access iphone dev tools and upgrade my Win7 mobile capability to something reasonably performant with one device.
My current laptop barely runs Win7 and borders on unusable for WP7 tooling hence the interest to try and solve two problems with one device - if realistic.
I assume if the device can run WP7 tools satisfactorily, it would be capable of anything else I might want to do when booted under Win7.
The new MacBook Airs do not have very powerful processors. The 11" maxes at 1.66 Ghz, while the 13" maxes at 2.13 Ghz. However, they do have the same GPU as the current 13" MacBook Pro. Also, since they use solid state drives, data access is significantly faster. Overall, it will not be the fastest computer you've used, but it should be enough to work.
I've bought one, but since it's going to the wife, I won't be able to test it in depth.
Instead, the MacbookPro 13" from '09 works fine (monoTouch+iOS dev and bootcamp to vstudio+wp7 dev). I upgraded to 4 gigs memory and that helped, also the disk is slower than I'd like. It responds like a mid-grade desktop, imo.
The problem I see is that the processor on the air's is ULV with a really slow clock, also the sdd in the base version is only 64g which is going to be cramped, I think.
Consider this: many Mac gamers install Windows with bootcamp just to have better gameplay experience.
That's because Windows have native access to the GPU through bootcamp.
http://www.mth.kcl.ac.uk/~shaww/web_page/grid/macgpu.htm (2009 article)
http://www.gpgpu.org/forums/viewtopic.php?t=3766&highlight=bootcamp (2007 article)
So the answer is yes.
Just wondering if there is any benchmark software that I can download that will run on both Windows (preferable Windows 7) and Linux (Ubuntu 9.10)? I have a brand new system and I'd like to run some standardized benchmarks with Ubuntu and also with Windows 7. The Passmark Performance test only runs under Windows.
It depends greatly of what your metric is. "Back then when" we worried more about integer vs floating-point performance the dhrystone test was popular. It will test the 'ecompiler + os' combination, but say nothing about graphics, or disk, or other aspects.
Wikipedia also has number of other open source benchmarks listed you could try.
Geekbench runs under both Windows and Linux (in addition to Mac OS X and Solaris).