Boot Ubuntu Linux faster by reducing TTY (virtual consoles)

Most of us never use all the virtual consoles(TTY) that is provided with most Linux distribution. Why leave it there and let it eat memory. You can decrease startup time by removing unwanted virtual console or TTY.

Removing some virtual consoles or reducing TTY is very easy.

Just follow the procedure below:

  • sudo -s
  • vi /etc/default/console-setup
  • change ACTIVE_CONSOLES=”/dev/tty[1-6]” to your choice. Lets say if you want only two TTY or virtual console then change to ACTIVE_CONSOLES=”/dev/tty[1-2]”
  • cd /etc/event.d
  • Comment on all the lines in ttyx file that you don't need. In this example tty3-tty6

Reboot to see the change.

Comments

  1. While this would save the tiniest amount of memory and remove clutter from process lists, it is too insignificant to noticeably effect boot time (and we're talking milliseconds here at most).

    ReplyDelete
  2. the problem is that there are no more event.d directory in karmic

    ReplyDelete
  3. try /etc/init in karmic

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

Giving Out Google Wave Invitations

[Solved] invalid partition table on /dev/sda -- wrong signature 0.