gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Extreme lag when gemini (3) writes files

Open compiledkernel-idk opened this issue 1 week ago • 2 comments

What happened?

Gemini 3 lags so hard i mostly need to kll my terminal when it writes to files OS: Debian 13 GNU/linux Kernel: liquorix 6.17-8

What did you expect to happen?

no lag

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

compiledkernel-idk avatar Dec 17 '25 18:12 compiledkernel-idk

Hi @compiledkernel-idk , Thanks for reporting this. To help the team narrow down what’s causing such a severe lockup on Debian 13, could you provide a bit more detail on the file operations that triggered the lag?

Specifically, it would be very helpful to know:

  • File Size: Approximately how large were the files Gemini was attempting to write to (e.g., a few KB, several MB)?

  • Modification Type: Was it a full file rewrite, an append, or a specific line-by-line edit?

  • Tool/Command: Which tool was the CLI using at the time (e.g., write_file, replace_lines, or a custom shell command)?

Additionally, since you are using the Liquorix kernel, it would be interesting to know if the issue persists on the standard Debian stable kernel, as Liquorix's high-frequency tuning can sometimes interact uniquely with high-I/O terminal processes.

galz10 avatar Dec 17 '25 20:12 galz10

Hi @galz10 The files were exactly 560KB it added about 400 lines with write_file

compiledkernel-idk avatar Dec 17 '25 20:12 compiledkernel-idk