Photonix Quickstart and Shortcut Manual: Open a 250MB Log in 12ms
Install Photonix, open a 250MB log in 12ms, master the keyboard map, compare revisions with Ctrl+K, and connect Ollama at localhost:11434 for private analysis.
Key Takeaways
- Understand what the 12ms open time measures: a memory-mapped file, an offset index, and a warm filesystem cache, not a full copy into RAM.
- Memorize a small shortcut set: Ctrl+O, Ctrl+F, F3, Ctrl+G, Ctrl+Shift+F, Ctrl+P, and Ctrl+K.
- Use Ctrl+K to compare a rotated log, a config export, or clipboard text, and normalize timestamps before trusting a noisy diff.
- Connect Ollama at http://localhost:11434 to analyze selected lines without sending production data to a cloud provider.
- Respect the limits: line-based diffs struggle with minified JSON, local models have context ceilings, and AI output always needs verification.
1. First Launch: What the 12ms Claim Actually Measures
Download the Windows x64 build from the Photonix page, or install it with winget install NexusTools.Photonix if you prefer package management. The portable executable is a single file under 30MB and does not need an installer, which makes it easy to keep on a USB stick for incident response. Double-click a .log file, drag it onto the window, or press Ctrl+O. The status bar reports byte size, line count, encoding, and the active file path; check those before you draw conclusions from the content.
The 12ms number comes from memory mapping, not from reading faster. Photonix asks Windows to map the file into the process address space with CreateFileMappingW and MapViewOfFile, builds a compact offset index, and renders only the visible region. The operating system faults pages in on demand, so a 250MB file does not become a 250MB heap allocation. A typical session settles around 28MB of private memory, and roughly 42MB with a 250MB log loaded; the exact numbers depend on the build and the number of open tabs.
Benchmarks deserve context. The published 12ms is a median cold-open on an NVMe SSD with the file already in the filesystem cache and Microsoft Defender exclusions in place. The first open after a reboot, on a spinning disk, or with real-time scanning every page can be several times slower. Measure your own hardware with the same file three times: once after a reboot, once warm, and once with the file on the drive you actually use. If the third number is acceptable, the workflow is acceptable.
Very large files expose different limits. A 2GB log still maps efficiently on 64-bit Windows, but editing it requires copy-on-write pages and enough free disk for the shadow buffer. A file with a single 40MB line defeats line-based rendering and horizontal scrolling, so reformat or split it first. Check the encoding before editing: UTF-8 with BOM, UTF-16 LE, and GBK all appear in Windows server logs, and the wrong codec produces mojibake that looks like corruption.
2. The Shortcut Manual: Move, Select, Search, and Replace
The file and tab layer is conventional on purpose. Ctrl+O opens a file, Ctrl+S saves, Ctrl+W closes the current tab, and Ctrl+Tab cycles forward while Ctrl+Shift+Tab cycles backward. Ctrl+P opens quick open, which searches file names in the current workspace rather than file contents; it is the fastest way to jump between a log, its rotated predecessor, and a config file. Ctrl+R reloads the file from disk, which matters when a process is still appending to it.
Navigation is where a large file rewards muscle memory. Ctrl+G opens go to line and accepts a decimal line number or a byte offset, depending on the mode shown in the dialog. Ctrl+Home and Ctrl+End jump to the first and last line, Page Up and Page Down move a viewport at a time, and Ctrl+Up and Ctrl+Down scroll without moving the caret. Alt+Left and Alt+Right walk back and forward through your jump history, which is useful after searching across a 1.8 million line file.
Selection shortcuts follow Windows conventions: Shift plus an arrow extends by one character or line, Ctrl+Shift plus an arrow extends by a word, and Shift+Home or Shift+End extends to the start or end of the line. Ctrl+A selects everything, but on a 250MB file that is rarely what you want. Select a bounded region before invoking AI or diff, because the tools send the selection and a small context window, not the entire file. A tight selection produces a better answer and a cheaper request.
Search is the core loop. Ctrl+F opens find, Enter or F3 jumps to the next match, Shift+F3 jumps back, and Esc closes the bar without losing the highlight. Ctrl+H opens replace; use it on a copy, never on the only production log. Ctrl+Shift+F searches the whole workspace and streams matches from files without loading them all into memory. The search bar has a regex toggle and a case-sensitivity toggle; use them deliberately, because a broad pattern on a 250MB file can return hundreds of thousands of hits.
View and encoding controls are less glamorous but save time. Ctrl+Plus and Ctrl+Minus change the font size, Ctrl+0 resets it, Alt+Z toggles word wrap, and Ctrl+Shift+E opens the encoding selector. F11 toggles full screen for a clean incident review. If your build remaps a binding, open Settings > Keymap and search by command name rather than by key; the command names are stable even when the defaults change.
3. Ctrl+K Diff: Compare Rotated Logs, Configs, and Clipboard Text
Ctrl+K opens the diff view in the current Windows build. It compares the active file with a saved revision, another file on disk, or the clipboard, and renders a line-based side-by-side or unified view. The diff engine highlights added, removed, and changed lines, and it can ignore whitespace and letter case. It does not understand timestamps, JSON semantics, or log rotation, so the quality of the result depends on how you prepare the inputs.
For rotated logs, open the older file in the left pane and the newer file in the right, then press Ctrl+K and choose the other tab as the comparison target. If every line looks changed, the timestamps are almost certainly the cause: each rotation writes a new time prefix, so the line content differs even when the event is identical. Trim the timestamp column with a regex replace on a copy, or compare a filtered subset such as the request path and status code. A diff of 40,000 noisy lines is worse than no diff at all.
For configuration changes, pretty-print both files before comparing. A minified JSON export is one line, and a line-based diff will report the entire file as changed. Run the JSON converter tool, or use the built-in formatter, save both versions as formatted text, and then compare. Ignore whitespace only after formatting; ignoring it on minified input hides the very structure you are trying to inspect. Keep the original files untouched and write the normalized copies next to them with a clear suffix.
Clipboard diff is the underrated workflow. Copy a stack trace from a ticket, press Ctrl+K, and compare it with the current log; the diff shows which frames are new and which were already present. Copy a config stanza from a wiki and compare it with the file on disk to catch drift. When the diff reveals a real change, save a copy before editing, and remember that this is a two-way comparison, not a three-way merge. Photonix will not resolve conflicts for you.
4. Local Ollama at localhost:11434: Private Analysis Without Uploads
Photonix can send selected text to a local Ollama instance instead of a cloud model. Install Ollama, pull a model, confirm that the service listens on http://localhost:11434, then open Photonix Settings > AI, choose Ollama as the provider, set the endpoint, and select the model. A NexusTools account includes 100 free daily credits for managed cloud models; local Ollama requests do not consume those credits. That distinction matters when you are analyzing logs all day.
The AI panel receives your selection plus a bounded context window, not the whole 250MB file. Ask a question that fits the selection: explain these 200 lines, identify the first exception in this stack trace, or list the distinct error codes in this block. If you need a file-wide summary, pre-filter it with search, export the matching lines, and analyze the smaller extract. Sending a giant selection usually truncates the input silently and produces a confident answer about the wrong slice of data.
Model choice is a hardware trade. A 7B code model runs comfortably on 8GB of VRAM and is good at explaining short stack traces and rewriting regexes. A 14B model needs roughly 16GB of VRAM or a fast CPU with enough RAM, and it handles longer context and subtler log patterns better. Quantized models trade a little quality for a lot of memory. Measure tokens per second on your machine before committing to a model; a slow model that times out is worse than a smaller one that answers.
Privacy has boundaries worth stating. Ollama keeps prompts and completions on the machine, and Photonix does not upload the file when you choose the local provider. Downloading the model itself requires internet access, and Ollama writes logs locally; review its data directory if you handle regulated data. Managed cloud models and NexusTools account sync are optional, and Pro adds cloud models and cross-device conveniences. None of that changes the local editing path, which works offline.
# 1. Confirm Ollama is listening on its default port
Invoke-RestMethod http://localhost:11434/api/tags |
Select-Object -ExpandProperty models |
Select-Object name, @{n = "SizeGB"; e = { [math]::Round($_.size / 1GB, 1) } }
# 2. Pull a code-oriented model and run a smoke test
ollama pull qwen2.5-coder:7b
ollama run qwen2.5-coder:7b "Explain the difference between HTTP 502 and 504 in two sentences."
# 3. Check which process owns port 11434 when the test fails
Get-NetTCPConnection -LocalPort 11434 -State Listen |
Select-Object LocalAddress, LocalPort, OwningProcessTools used in this workflow
Engineering Verification & Production Checklist
Before applying these steps in enterprise production workflows, ensure you verify idempotency and maintain isolated data snapshots. For bulk data operations or large file streaming, run tests within sandboxed local sessions before scaling across enterprise infrastructure to ensure complete data consistency.
Frequently Asked Questions
Does Photonix upload my logs?
No. Opening, indexing, searching, and diffing happen locally. AI requests go to the provider you configure: local Ollama stays on the machine, while managed or bring-your-own-key cloud models receive the selected text. You can use the editor with no account and no network.
Why does Ctrl+K show every line as changed?
The usual causes are timestamps, line endings, and minified formatting. Two rotated logs differ on every line because the time prefix changes. Normalize the copies first, or compare a filtered subset such as status code and request path.
Can Photonix open a 2GB log on a 16GB laptop?
Yes, because the file is memory-mapped rather than copied into the heap. Editing still needs room for copy-on-write pages, and a slow disk or aggressive antivirus will dominate the open time. Keep the file on a local SSD for the best result.
Which Ollama model should I use for logs?
Start with a 7B code-oriented model if you have 8GB of VRAM. Move to a 14B model when you have 16GB and need better reasoning over longer stack traces. Test with your own logs; benchmark scores do not predict how a model handles your error messages.
Put this into practice with Photonix
Local-first 12ms cold load for 250MB logs, SIMD regex search, Ctrl+K AI inline diff refactors, 100 free daily DeepSeek credits, and local Ollama diagnosis.