1

I'm developing an iOS music app which is quite cpu intensive and doesn't run well on mono-core iPhones (well I'm interested in the first iPhone 4 only).

I have an iPhone 5 for my personal use and I'm wondering if is possible to completely disable one core so it behaves almost like an iPhone 4 first version.

I'm fine with Cydia or other non Apple-Approved methods.

Peter Hosey
  • 95,783
  • 15
  • 211
  • 370
lucaseverini
  • 11
  • 1
  • 2
  • You mean for testing/profiling purposes, not in your app, right? – Peter Hosey May 30 '13 at 03:52
  • @PeterHosey, could you define "chud" in this context? – Charles May 30 '13 at 04:09
  • @Charles: I've edited the tag wiki for that tag. – Peter Hosey May 30 '13 at 05:22
  • You can keep your program to one thread using `NSLock` to try to slow it down, and that may or may not keep it to one core (its complicated). Note that the dual core is not the only difference. Without looking up stats right now, iPhone 5 has more RAM, and I think its processor is faster. – WolfLink May 30 '13 at 05:48
  • starting a thread with real-time priority that never blocks might also do the trick - although I believe the mach kernel does provide a certain amount of resource-usage supervision to such threads. – marko May 31 '13 at 15:34
  • Yes. Just for testing purpose. I've done some research around and it doesn't seem to be possible to disable a cpu core on iOS as it is on MacOS. At least not as simply. – lucaseverini Jun 03 '13 at 04:51

0 Answers0