Re: Constant CPU load of approx. 5% / UCI mode question

Antonio Ceballos <[email protected]> Mon, 25 Feb 2019 01:36:38 +0100
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <CAO7R9g_2_9UpukxysO-HyyvGhRQj_M+xTw1JGgighc601HtPDw@mail.gmail.com>
--===============1181097152051278588==
Content-Type: multipart/alternative; boundary="000000000000eae2490582ad22e4"

--000000000000eae2490582ad22e4
Content-Type: text/plain; charset="UTF-8"

Hi Nic,

Thank you for your feedback using GNU Chess.

CPU usage of 5% in 6.2.4 may be normal, but should be negligible in 6.2.5.
The way to handle input was changed.

As you may know, the UCI mode is not intended for human interaction, but
mainly for interaction with programs such as chess GUIs. Moreover, UCI 'go'
is not the same as GNU Chess 'go' command (non UCI mode). If you want to
play a game in UCI mode interactively, you should type other UCI commands
before go, mainly, ucinewgame. The UCI standard includes an example.

Regards,
Antonio Ceballos


On Sat, Feb 23, 2019 at 2:48 PM Nicolas Peifer <[email protected]> wrote:

> Hi,
>
> I have two problems (I'm not sure if they are bugs):
>
> gnuchess has a CPU load of approximately 5% even when not thinking
> ("gnuchess -e"). Is this normal?
>
> When I start gnuchess (version 6.2.4 or 6.2.5) in UCI mode, i. e.
> "gnuchess -u", and enter "go" nothing happens. I have to enter something
> like "go infinity" or "go depth 5" in order to make it work. Is this a bug
> (default configuration missing)? The UCI "standard" says:
>
> "go     start calculating on the current position set up with the
> "position" command.
>     There are a number of commands that *can* follow this command, all
> will be sent in the same string.
>     If one command is not sent its value should be interpreted as it would
> not influence the search."
>
> Best regards,
>
> Nic
> _______________________________________________
> Bug-gnu-chess mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-gnu-chess
>

--000000000000eae2490582ad22e4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Nic,</div><div><br></div><div>Thank you for your f=
eedback using GNU Chess.</div><div><br></div><div>CPU usage of 5% in 6.2.4 =
may be normal, but should be negligible in 6.2.5. The way to handle input w=
as changed.<br></div><div><br></div><div>As you may know, the UCI mode is n=
ot intended for human interaction, but mainly for interaction with programs=
 such as chess GUIs. Moreover, UCI &#39;go&#39; is not the same as GNU Ches=
s &#39;go&#39; command (non UCI mode). If you want to play a game in UCI mo=
de interactively, you should type other UCI commands before go, mainly, uci=
newgame. The UCI standard includes an example.</div><div><br></div><div>Reg=
ards,</div><div>Antonio Ceballos</div><div><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Feb 23, 2019=
 at 2:48 PM Nicolas Peifer &lt;<a href=3D"mailto:[email protected]">nic@li=
nuxonfire.de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">
 =20

   =20
 =20
  <div bgcolor=3D"#FFFFFF">
    <p>Hi,</p>
    <p>I have two problems (I&#39;m not sure if they are bugs):</p>
    <p>gnuchess has a CPU load of approximately 5% even when not
      thinking (&quot;gnuchess -e&quot;). Is this normal?<br>
    </p>
    <p>When I start gnuchess (version 6.2.4 or 6.2.5) in UCI mode, i. e.
      &quot;gnuchess -u&quot;, and enter &quot;go&quot; nothing happens. I =
have to enter
      something like &quot;go infinity&quot; or &quot;go depth 5&quot; in o=
rder to make it
      work. Is this a bug (default configuration missing)? The UCI
      &quot;standard&quot; says:</p>
    <p>&quot;go =C2=A0=C2=A0=C2=A0 start calculating on the current positio=
n set up with the
      &quot;position&quot; command.
<br>
      =C2=A0=C2=A0=C2=A0 There are a number of commands that <b>can</b> fol=
low this
      command, all will be sent in the same string.
<br>
      =C2=A0=C2=A0=C2=A0 If one command is not sent its value should be int=
erpreted as
      it would not influence the search.&quot;<br>
    </p>
    <p>Best regards,</p>
    <p>Nic<br>
    </p>
  </div>

_______________________________________________<br>
Bug-gnu-chess mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Bug-gnu-chess@gn=
u.org</a><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/bug-gnu-chess" rel=3D"nor=
eferrer" target=3D"_blank">https://lists.gnu.org/mailman/listinfo/bug-gnu-c=
hess</a><br>
</blockquote></div>

--000000000000eae2490582ad22e4--


--===============1181097152051278588==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Bug-gnu-chess mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnu-chess

--===============1181097152051278588==--