Tord Romstad wrote:Apple's latest iOS development kit contains two separate 4-inch iPhone simulators; "iPhone Retina (4-inch)" and "iPhone Retina (4-inch 64-bit)". Stockfish is only about 5% faster in the 64-bit simulator.
Correction: It's actually about 35% faster. I just hadn't figured out how to compile a proper 64-bit binary. Of course, the speedup on an actual device may turn out to be bigger or smaller than this.
Apple own testing suggests that this new iphone will be 40x faster than the original.
Yes, the original iPhone 1. Serious.
Anyhow, is that such a surprise? Consider that my original testing of the Nook Color, only 2 years old, yielded a Stockfish count of 62KNPS, whereas my phone, which first came out in 2012 (I bought it quite cheap this year) already reaches over 10x that figure.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
Cubeman wrote:Apple own testing suggests that this new iphone will be 40x faster than the original. From looking at the list I imagine the 3G would be about 50kn/s so it is quite feasible that new version will break the 800kn/s mark.
Actually, if I recall correctly (which is far from sure; as it is a really long time ago), the original iOS version of Glaurung only did about 12kN/s on my iPhone 3G. The current Stockfish version -- which would probably be slower than that old Glaurung version when running on identical hardware -- searches around 250kN/s on my iPhone 4S, and 310kN/s on my iPad 3. I expect the iPhone 5S to be at least twice as fast.
And if your personal attempt at modifying for 64 bit could possibly break the 1000kn/s. I know that these guesses are vague and would not bet money on them as previous extrapolations have been wrong but just want to put it out there.
Yes, we'll have to wait and see, but the current version is strong enough even on the iPhone 4S that the actual speedup on the most recent devices really doesn't matter unless you're an elite grandmaster. And for those few who need the fastest possible analysis, running a remote engine on a real computer is a far better option anyway (and I'm already looking into better and more user-friendly ways to achieve that).
Cubeman wrote:Apple own testing suggests that this new iphone will be 40x faster than the original. From looking at the list I imagine the 3G would be about 50kn/s so it is quite feasible that new version will break the 800kn/s mark.
Actually, if I recall correctly (which is far from sure; as it is a really long time ago), the original iOS version of Glaurung only did about 12kN/s on my iPhone 3G. The current Stockfish version -- which would probably be slower than that old Glaurung version when running on identical hardware -- searches around 250kN/s on my iPhone 4S, and 310kN/s on my iPad 3. I expect the iPhone 5S to be at least twice as fast.
And if your personal attempt at modifying for 64 bit could possibly break the 1000kn/s. I know that these guesses are vague and would not bet money on them as previous extrapolations have been wrong but just want to put it out there.
Yes, we'll have to wait and see, but the current version is strong enough even on the iPhone 4S that the actual speedup on the most recent devices really doesn't matter unless you're an elite grandmaster. And for those few who need the fastest possible analysis, running a remote engine on a real computer is a far better option anyway (and I'm already looking into better and more user-friendly ways to achieve that).
Tord Romstad wrote:And for those few who need the fastest possible analysis, running a remote engine on a real computer is a far better option anyway (and I'm already looking into better and more user-friendly ways to achieve that).
Is there a remote android option in the works?
Well, sort of. I'm working on a web app for playing against a chess engine remotely. The web app should be usable from any device with a modern browser, and I'll probably make some effort to make it look and feel vaguely like a native app on iOS and Android. A little further down the road, I plan a native iOS client. I don't have the time, competence or interest to write a native Android client, but I'll gladly provide somebody else with all the information necessary to do so when that time arrives.
Please note, however, that this is a project I am working on at my job (with the aim of learning Clojure) while I have nothing more important to do. It may be have to put aside on short notice if some more important task shows up. Writing free chess software, unfortunately, doesn't bring in a lot of money.
Tord Romstad wrote:And for those few who need the fastest possible analysis, running a remote engine on a real computer is a far better option anyway (and I'm already looking into better and more user-friendly ways to achieve that).
Is there a remote android option in the works?
Well, sort of. I'm working on a web app for playing against a chess engine remotely. The web app should be usable from any device with a modern browser, and I'll probably make some effort to make it look and feel vaguely like a native app on iOS and Android. A little further down the road, I plan a native iOS client. I don't have the time, competence or interest to write a native Android client, but I'll gladly provide somebody else with all the information necessary to do so when that time arrives.
Please note, however, that this is a project I am working on at my job (with the aim of learning Clojure) while I have nothing more important to do. It may be have to put aside on short notice if some more important task shows up. Writing free chess software, unfortunately, doesn't bring in a lot of money.
I'll be waiting there
Thanks Tord and good luck....
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
Tord Romstad wrote:And for those few who need the fastest possible analysis, running a remote engine on a real computer is a far better option anyway (and I'm already looking into better and more user-friendly ways to achieve that).
Is there a remote android option in the works?
Both Chess for Android and DroidFish can be configured to use a remote engine. For Chess for Android, see http://aartbik.blogspot.se/2012/03/conn ... emote.html. For DroidFish, see the "UCI engines on a remote server" section in the help.
JuLieN wrote:Nice new design for Stockfish for iOS, Tord, thanks!
I'm glad you like it! In case you haven't noticed, it is not only a visual change: You can now tap a move in the move list to jump directly to that move, which is really convenient.
The NPS is unchanged: around 277/278 KNs on my iPad 3.
It's not very meaningful to compare, since the engine versions are very different. Version 2.4, if I recall correctly, used an engine version based on Stockfish 1.7 or 1.8. Version 2.6.0 is based on a development version from Thursday or Friday last week.
Your numbers look a little lower than they should be, though. I also have an iPad 3, and the new Stockfish does around 300kN/s from the initial position.