23GB?

Please consider:
- consider splitting the repo up into parts with git subtree (ex. git
filter-branch --prune-empty --subdirectory-filter install master)
- storing on SSD
- contributing caching to GitLab (unsure if practical)



On Wed, Aug 27, 2014 at 8:52 PM, Fred Kleindenst <freddo...@gmail.com> wrote:
> I am attempting to support some very large repos.  Specifically:  162,346
> commits 5,895 branches 0 tags 23353.11 MB
>
> Below is from my production.log showing the very slow rendering time (10s of
> seconds).  This affects several html screens related to this repo.    Small
> repos behave quickly.
>
> Started GET "/root/onefs-test-from-old?limit=20&offset=0" for 127.0.0.1 at
> 2014-08-27 11:41:16 -0700
> Processing by ProjectsController#show as JSON
>   Parameters: {"limit"=>"20", "offset"=>"0",
> "id"=>"root/onefs-test-from-old"}
>   Cache digest for app/views/events/_commit.html.haml:
> 132773526bd5731e85e6742ea7a740d3
>   Cache digest for app/views/events/event/_push.html.haml:
> 38746e12d28b27d0c67024287ce188ef
>   Cache digest for app/views/events/event/_note.html.haml:
> 00a91584035ffade84dbd505928e7182
>   Cache digest for app/views/events/event/_common.html.haml:
> 63aaa18570299d5d81a0e72a4ce7fbe5
>   Cache digest for app/views/events/_event.html.haml:
> 6addc44650dc1f7c66594c3371b56320
> Read fragment
> views/events/2912-20140827101609213546000/6addc44650dc1f7c66594c3371b56320
> (0.3ms)
> Read fragment
> views/events/2911-20140827101600794924000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2910-20140827101552617305000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2909-20140827101544091031000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2908-20140827101535034950000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2907-20140827101527147539000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2906-20140827101518596252000/6addc44650dc1f7c66594c3371b56320
> (0.3ms)
> Read fragment
> views/events/2905-20140827101510284755000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2904-20140827101459960453000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2903-20140827101451854053000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2902-20140827101443980555000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2901-20140827101435981883000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2900-20140827101427305605000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2899-20140827101419457235000/6addc44650dc1f7c66594c3371b56320
> (0.3ms)
> Read fragment
> views/events/2898-20140827101411228807000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2897-20140827101402816938000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2896-20140827101354944996000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2895-20140827101347186727000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2894-20140827101339065624000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Read fragment
> views/events/2893-20140827101330364622000/6addc44650dc1f7c66594c3371b56320
> (0.2ms)
> Completed 200 OK in 9015ms (Views: 2.2ms | ActiveRecord: 6.3ms)
> Started GET "/root/onefs-test-from-old/commits/vendor.branches/openssl" for
> 127.0.0.1 at 2014-08-27 11:41:29 -0700
> Processing by Projects::CommitsController#show as HTML
>   Parameters: {"project_id"=>"root/onefs-test-from-old",
> "id"=>"vendor.branches/openssl"}
> Completed 200 OK in 36110ms (Views: 92.7ms | ActiveRecord: 39.7ms)
> Completed 200 OK in 23061ms (Views: 4216.1ms | ActiveRecord: 9.7ms)
> Started GET "/root/onefs-test-from-old/commits/vendor.branches/apache" for
> 127.0.0.1 at 2014-08-27 11:42:27 -0700
> Processing by Projects::CommitsController#show as HTML
>   Parameters: {"project_id"=>"root/onefs-test-from-old",
> "id"=>"vendor.branches/apache"}
> Completed 200 OK in 23619ms (Views: 4173.5ms | ActiveRecord: 9.4ms)
>
>
> Any ideas on how to make things faster?
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/b98d7329-985d-4813-9cf0-a979196eee39%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAEG31mN-5hBg1NTNvrLtYgb7BTDTf92wc1eND1awda-%2BO09ycQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to