I installed babun on my machine under Windows 10.
Disabling bash autocompletion jobs improved my load time a bit. I renamed all my files to the extension ".bk" in the directory "bash_completion.d".
{ ~ } Β» ls -ltr /etc/bash_completion.d ~ total 68 -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 998 Jun 23 2015 vim-completion.bk -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 44924 Jun 23 2015 svn.bk -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 1200 Jun 23 2015 gvim-completion.bk -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 2609 Jun 23 2015 gsettings.bk -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 1356 Jun 23 2015 gresource.bk -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 935 Jun 23 2015 gdbus.bk -rwxrwx---+ 1 m.ortiz.montealegre Domain Users 1389 Jun 23 2015 gapplication.bk
Debugging is also a good option with strace, to find out what happens when Cygwin boots up, please check the question .
EDIT:
About setting up Babun
The tool you can use to verify your installation is documented on the babun website, use babun check , maybe this will offer you some tips:
{ ~ } Β» babun check ~ Executing babun check Prompt speed [SLOW] Hint: your prompt is very slow. Check the installed 'BLODA' software. Connection check [OK] Update check [OK] Cygwin check [OK]
I donβt know if you made any settings in your babun installation, check the ~ / .babunrc file and make sure you turn off automatic updates and startup checks (do not activate them):
# JVM options export JAVA_OPTS="-Xms128m -Xmx256m" # Modify these lines to set your locale export LANG="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export LC_ALL="en_US.UTF-8" # Uncomment these lines to the set your machine default locale (and comment out the UTF-8 ones) # export LANG=$(locale -uU) # export LC_CTYPE=$(locale -uU) # export LC_ALL=$(locale -uU) # Uncomment this to disable daily auto-update & proxy checks on startup (not recommended!) # export DISABLE_CHECK_ON_STARTUP="true" # Uncomment to increase/decrease the check connection timeout # export CHECK_TIMEOUT_IN_SECS=4 # Uncomment this lines to set up your proxy # export http_proxy=http:
About Cygwin
There are a few tweaks here and here that you could learn for Cygwin if you are not happy with debugging with Strace.
I think you should abstract away from "babun" and not forget about the built-in Cygwin, which I think is what you really want to speed up, the babun core is a Cygwin implementation with some changes:
The Babun kernel consists of pre-configured Cygwin.
source share