Upgrade to Pro — share decks privately, control downloads, hide ads and more …

全自動パラメータチューニングさん

Issei Naruta
February 18, 2013

 全自動パラメータチューニングさん

2013/02/18 Yahoo! Open Hack Day 参加作品
KLab賞 受賞
ソースコードはこちら: https://github.com/mirakui/tuningsan
説明: http://blog.mirakui.com/entry/2013/02/20/003401

Issei Naruta

February 18, 2013
Tweet

More Decks by Issei Naruta

Other Decks in Technology

Transcript

  1. શࣗಈύϥϝʔλ
    νϡʔχϯά͞Μ
    ϛϥΫϧΈΒ͍ͪ͘ΌΜͷ
    Θ͘Θ͘ϫϯμʔϥϯυ
    :BIPP0QFO)BDL%BZ+BQBO

    View full-size slide

  2. αʔόߏங͸
    ࣗಈԽ͕ओྲྀ
    $IFG 1VQQFU

    View full-size slide

  3. ͔ͤͬͩ͘͠
    νϡʔχϯά΋
    ࣗಈԽ͍ͨ͠

    View full-size slide

  4. lશࣗಈύϥϝʔλ
    νϡʔχϯά͞Μz

    View full-size slide

  5. ର৅
    ϛυϧ΢ΣΞ
    ઃఆϑΝΠϧ
    ϕϯνϚʔΫ
    νϡʔχϯά
    ͞Μ ύϥϝʔλߋ৽ɾ
    ϛυϧ΢ΣΞ࠶ىಈ
    )551ͳͲ
    E3VCZ
    νϡʔχϯά͞Μαʔό νϡʔχϯάର৅αʔό
    ύϥϝʔλௐ੔

    View full-size slide

  6. 6OJDPSOͷ
    ϓϩηε਺Λνϡʔχϯά
    εϧʔϓοτΛ
    ࠷େԽ͍ͨ͠
    ࣮ߦྫ

    View full-size slide

  7. worker_processes <%= worker_processes %>
    F3VCZܗࣜ
    worker_processes 1 ʢσϑΥϧτ஋ʣ
    ࢖͍ํ

    View full-size slide

  8. νϡʔχϯά͞Μ
    ࣮ߦ

    View full-size slide

  9. ʢ࣮ߦதʣ

    View full-size slide

  10. worker_processes 17
    109req/sec
    worker_processes 1
    28req/sec
    ʢσϑΥϧτ஋ʣ
    ʢࣗಈνϡʔχϯά͞ΜʹΑΔ࠷ద஋ʣ
    ݁Ռ
    ໿ഒ

    View full-size slide

  11. νϡʔχϯά͞Μͷ
    ΞϧΰϦζϜ

    View full-size slide







  12. SFRTFD
    XPSLFS@QSPDFTTFT
    ύϥϝʔλΛม͑ͳ͕ΒϕϯνϚʔΫ

    View full-size slide







  13. SFRTFD
    XPSLFS@QSPDFTTFT
    ύϥϝʔλΛม͑ͳ͕ΒϕϯνϚʔΫ

    View full-size slide







  14. ͜ͷ΁Μʹ࠷ద஋͕͋Γͦ͏
    SFRTFD
    XPSLFS@QSPDFTTFT

    View full-size slide







  15. ࠷దͬΆ͍ൣғΛ
    ॏ఺తʹௐ΂Δ
    SFRTFD
    XPSLFS@QSPDFTTFT

    View full-size slide

  16. XPSLFST

    SQT
    ࠷ద஋
    XPSLFST

    View full-size slide

  17. ͍͢͝ͱ͜Ζ

    View full-size slide

  18. ࣗಈ͔ͩΒ
    ଎͍ͯ͘͢͝

    View full-size slide

  19. ෼ͰΠφϑ
    ʢઌ΄Ͳͷνϡʔχϯάྫʹ͓͍ͯʣ

    View full-size slide

  20. ػց͔ͩΒ
    ਖ਼͕͍֬͢͞͝

    View full-size slide

  21. ਓ͕ؒνϡʔχϯά͢Δͱ
    ύϥϝʔλΛ
    ΩϦͷྑ͍਺ࣈʹ͕ͪ͠
    ʢͱ͔ͱ͔ʣ
    ࠷ద஋͸ΩϦ͕ྑ͘ͳ͍

    View full-size slide

  22. .Z42-
    1PTUHSF
    .POHP%#
    3FEJT
    "QBDIF
    /HJOY
    7BSOJTI
    .FNDBDI
    ͍͍ͩͨͷ
    ϛυϧ΢ΣΞʹରԠ
    ʢԿΒ͔ͷํ๏ͰϕϯνϚʔΫͰ͖Ε͹0,ʣ

    View full-size slide

  23. ࣗಈԽ࠷ߴ

    View full-size slide

  24. ϛϥΫϧΈΒ͍ͪ͘ΌΜͷ
    Θ͘Θ͘ϫϯμʔϥϯυ
    ʙશࣗಈύϥϝʔλνϡʔχϯά͞Μʙ
    ΦϫϦ

    View full-size slide