all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: HOWTO: lightning fast Emacs on Linux multicore
Date: Sun, 16 Nov 2014 08:41:37 +0100	[thread overview]
Message-ID: <87fvdjh9se.fsf@debian.uxu> (raw)
In-Reply-To: 8761efyhum.fsf@kuiper.lan.informatimago.com

"Pascal J. Bourguignon" <pjb@informatimago.com>
writes:

> If you want to have fun, perhaps implementing a few
> emacs lisp library functions in parallel
> (multi-threaded), could speed things up.
>
> You'd have to find out what operations (particularly
> on big buffers) are slow and parallelizable.
>
> For example, replace-string could split its
> start/end range, (check the cuts for occurences) and
> then process each range in parallel.
>
> Similarly, replace-regexp and fontifying which is
> often thought to be slow, could benefit (taking the
> same precautions around the cuts).
>
> A lot of code that use iterative search
> (re-search-forward) could probably be upgraded,
> using a function (such as re-all-matches) that would
> perform the search in parallel on the different
> ranges.

I'm afraid you overestimate me. The stuff I mention
are Linux processes. If I put Emacs on core A,
everything from Emacs will be on core A. I don't know
how - if indeed possible - to put something out of
Emacs on some other core, and even less so to put
things on different cores and then to synchronize the
result after executing in parallel. But yeah - that
would be very cool indeed. And fast.

-- 
underground experts united


  reply	other threads:[~2014-11-16  7:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-08 23:07 HOWTO: lightning fast Emacs on Linux multicore Emanuel Berg
2014-11-10  2:05 ` Marcin Borkowski
     [not found] ` <mailman.13356.1415585130.1147.help-gnu-emacs@gnu.org>
2014-11-15 19:26   ` Emanuel Berg
2014-11-16  1:13     ` York Zhao
     [not found]     ` <mailman.13774.1416100398.1147.help-gnu-emacs@gnu.org>
2014-11-16  7:46       ` Emanuel Berg
2014-11-16  7:57         ` Jean-Jacques Rétorré
2014-11-16  8:07           ` Emanuel Berg
2014-11-16  8:43             ` Jean-Jacques Rétorré
2014-11-16 20:34               ` Emanuel Berg
2014-11-16  2:55 ` Pascal J. Bourguignon
2014-11-16  7:41   ` Emanuel Berg [this message]
2014-11-16 19:49 ` Bob Proulx
2014-11-16 20:25   ` Eli Zaretskii
     [not found] ` <mailman.13827.1416167406.1147.help-gnu-emacs@gnu.org>
2014-11-16 21:04   ` Emanuel Berg
2014-11-16 21:39     ` Bob Proulx
2014-11-17  3:42       ` Eli Zaretskii
     [not found]     ` <mailman.13834.1416173992.1147.help-gnu-emacs@gnu.org>
2014-11-16 21:58       ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvdjh9se.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.