Bill Allombert on Mon, 05 Jun 2023 17:59:19 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: parsum and nbthreads
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Mon, 5 Jun 2023 17:54:23 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1685980453; c=relaxed/relaxed; bh=lVJT6CQoC8Hq6lyRhv8i8u+NVJiGbvHzNtDGZmRTbG4=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=xHatt1/RRglhtSTwIaXV52Z/y8HgYbZrmk3tjjOCMKRE7YeiJ8hf/eng6Qemai6GTtGJbjjdDwAn9sStFowdJRiWc1TyL40ajQrLYZgQkAbu6cGN3PxpU1uppe1B+P+12t5OhPgP9odaHMfRQU+RpOa4dqmhUE0kwXLJA0L/XQ0SGUHZdA7nsGMXPTKFgorkYjBf3Mq/tLfG3FGB+24cqGl0AfIPpZ7rQ8fWW0mGix0zrEezF23EmpDaGZPZS2VvzACFg2g637ltnKMXZn/1xYVPJj9VB6nqvmL1ipfzsgdktEsps/sY2mO99U3mLHTLBuGW+bcdA9O0joZc5ZTisyjGBGL+y6Jxy3iTB8RpBUcwV35vN65ZDAkpeMUP7TOj2hY+cvtagUoUBbtu1985txzAADwC3aGxOG/xIdHKDYOL6CAi8Rp+03NvKMgYuOJNux6rOicjedZ3ygTK9iF9tRNqM0cABhdMh/1XV6AmxBAHX0lTFjt6bpe6vVGvN8Ivw5RVihXjo4qj6s/zBQB4ofGNUXhSnboLF0uoLPKjOETJ7ljcssNH89ir4WT49z6QT/ctbxXs0zKNjHKRfMnTfu8nRlAX83tLCUO9Vap8nIlSAuvRiFv0sSLSs+bURIxsY65Ghk5PSIewkvFj5fIecI1nmu159wNOeTpOVfSOlCI=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1685980453; cv=none; b=UqSdvk7Vo3X+xzpFvMP8KNjvr4WESE9ovm+cecTj068fWBp7+fV4aUdoQBYO9upttYehYcS1ddWYve/45JnAmm0zhXVff9tTmqVdxynt71LDPi2pljogBfvI4Grh9R9mJh+K6yc5AMk1xqmE2Ozx0uev1MUg2eDH5j9O1LLrLE+5DQpZZdoer+lq0pxtBS7Qp+uCI2edI2aFaOJDZ5+Poi1d/fZaqV/ejO8drPVvu6rm9K5yLDv64La65T6BXtbuw2M3Eop1+0HK6KeXl3mAxZCwcfXHDUORVCumma0Ny636CJgf9nLGDYcceRtVL6yP1qIGgqPnnrDrHA1MkadH3/HlL3ga/3IjpfpDLGO6tQ+flPHd+xErFRRsN3P4uVR/JHuncyF/Cq6/Qvzf0EHEynBDX8rBZzeCINZB+m21Y3fZErqdgHedQh4GcNqkja+7LtGAWR37LjN+E1Y7YJ6aBEt5fpEsklQHdCm4IvyeHmuH3qh8nvYteZH2PsoVEWyJJRHcJ+YVm4/OZbUXfWLuiFVRtqIHKrF0xHo3KZX+wzuFrtLx58OAAFfOirTJfeDn0/T/csEQhdG943NzdcVeVWvi5aTKq5Tsn052bvt+xwgCGGfflYBOhMFxlqTrIWCS52eJ928mIdvCsXLxuheaJ7zs5dx9rqfTD8kS2XNkdkE=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Mon, 05 Jun 2023 17:59:19 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1685980453; bh=lVJT6CQoC8Hq6lyRhv8i8u+NVJiGbvHzNtDGZmRTbG4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=UrftHrbAcN4ohD5+54oLwWLqtawR4zjbEiHtOh7D90tPKn94GedBk9KQ0b5YYgBq1 nDJORlrnQRQRszFqG4fsPQtFNQzGPOFHqvoxzyoN4LSnM7cChi8md02tdh1iAV/0oT 7tJg4So6iQ0THpyqZOHxumul3fCwgwOFcxkLv0xCt7u/Fi1q/mIHZeaisPBD6RChF5 tFibKMJlkmA304oRtfaE6Xh9wN96DbyNyoU/CG6EhclyZ7ljovl+Y5+h3+iGxYOeBO hL3ajN0T1VTcCdHZJHRq4tWjh2+lxmfBubtoDAdGw/sfy3kHa4c6BPceBGYTJ1lYNM dhs2k5MA1+FlRqPGu+O/9iYxe6QrcCLhqWGep+q4w5UWjK4vOf3lzFn1p6Oz4aVIEw 5kCjUbAV5fdob9+P9YW4opgJIHReKlFUhNMHYSJUGHsp37pa/x/J9SABytg9zbl//U ChDi4+t4kPjnMT/kKAfvagXzxP4K+vMcRoCAUvo0uAZUVPapcnpcE3TCZVNnTmoRtw 43H5r4Asmmf6sUnxlZ0uJAhyOT+giOGMEjxSFpORwLtZN92peWAalZDginx36NVolO KMWYkrg8CoOQy4Az1xSDnpN5mIWmwyJ6M5XIYB3WhwD7zVeDFA20mKDpOzXo2i5zhy v6NI7ysLr7231KtM9ZG+Xw94=
- In-reply-to: <CAMLkfFRpPqfH57P7g=JFhK_dqmU_kmL2hX5cviiAi3k7BDxJSQ@mail.gmail.com>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <CAMLkfFTZ3GaxOy4NgnKKprxN1TPbzgsYKHa33ygYK-6fozXhtQ@mail.gmail.com> <ZHSm6xRk2/kUT+Tm@seventeen> <CAMLkfFRpPqfH57P7g=JFhK_dqmU_kmL2hX5cviiAi3k7BDxJSQ@mail.gmail.com>
On Mon, Jun 05, 2023 at 03:47:11PM +0200, Loïc Grenié wrote:
> I've pushed a "loic-parsum" to pari git. It does not change the number
> of
> threads (I still think it's not optimal right now), however it addresses
> most
> of the problems I've illustrated before, should not hurt performance, as
> far
> as I can tell, and passes the tests involving parsum (export, parallel,
> programming).
>
> The drawback is that it exports one more function (+1 line in paripriv,
> and
> +7 non-empty lines in src/functions/programming/parsum) and substitutes
> two functions by a longer one (+14 non-empty lines in
> src/language/eval.c).
>
> Could you consider it for inclusion, eventually modified?
Sure. Do you have some tests where it makes a difference ?
Cheers,
Bill.