CI20 nginx / PHP / mysql performance

This topic contains 3 replies, has 2 voices, and was last updated by  ZubairLK 2 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48393

    Viliam
    Member

    Hi, I’d like to use CI20 as a web server for my custom PHP application. It uses laravel 5 framework. I currently own a raspberry pi 2 and it’s running kind-of slow (althrough much faster than my previous via eipa 533mhz web server, about 2.5x as fast 😀 ). My questions are

    1) would this web stack actually work at all on MIPS debian 7? Are those packages supported on MIPS?
    2) what is the performance? would anybody care to try for example wordpress?:)

    I’d be running RAID1 storage on 2 external WD RED 1TB drives.

    Optimising the app is of course possible but I’d like to keep it as it is so to not sacrifice the beauty and maintainability of the code.

    I simply want to know if general PHP performance would be faster, or on par, with raspberry pi 2.

    Thanks for any input! 🙂

    #48404

    ZubairLK
    Member

    Hi Vlllam,

    Welcome to the CI20 forum.

    Regarding 1)
    I don’t see any reason that it shouldn’t work. nginx/php are available for mipsel in Debian 7 e.g. [1]. You can search for other packages you might need. The bottom of that page lists architectures supported.

    Regarding 2)
    There is no simple answer of which is better.
    It entirely depends on your application and how cpu/memory/cache/io intensive it is. At the end, actually running it is generally the way to find out.

    That said, ci20/rpi2 are in similar league of boards as far as hardware goes.

    For software, parts of CI20 software optimizations, such as kernel upgrade, Debian 8 upgrade are work-in-progress/in development stages. For your application, the current development sources should be work [2],[3].

    Regards,
    ZubairLK

    [1] https://packages.debian.org/wheezy/nginx
    [2] http://elinux.org/CI20_Distros#Upgrading_to_Debian_8_.2F_Jessie
    [3] http://www.elinux.org/CI20_Dev_Zone#Building_Linux_Kernel_from_sources

    #48405

    Viliam
    Member

    Thanks, I’ll give it a try! 🙂 I’ve already ordered the CI20, and will post some nice comparison results later on 🙂 Together with beagleboard i2, and ondroid C1.

    Some things to look forward to! 🙂

    Regards,
    Viliam 🙂

    #48410

    ZubairLK
    Member

    Hi Villiam,

    Great. And good luck.

    I would definitely recommend upgrading the kernel before benchmarking it.

    There is a noticeable performance difference.

    Regards,
    ZubairLK

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Creator Platforms’ is closed to new topics and replies.