Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dcore:important_grep_notice [2016/06/07 09:04] – created nitram | dcore:important_grep_notice [2016/07/31 17:18] (current) – [GNU Grep Performance] nitram | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Important Grep Notice ===== | ===== Important Grep Notice ===== | ||
+ | ==== Grep Overview ==== | ||
[[https:// | [[https:// | ||
- | Some SCEs include GNU Grep, though it is best to confirm. For example, xorg-* SCEs appear to include GNU Grep but the Xvesa SCE does not. Users running Xvesa graphics or no graphics may, therefore, not be utilizing the faster Grep. If the SCE that provides this faster grep is always listed in sceboot.lst then there is no need for a separate import, otherwise import the ' | + | ==== Grep Utilization ==== |
- | < | + | To confirm that GNU Grep is imported and utilized run '' |
- | sce-import -b grep | + | |
- | </ | + | |
- | + | ||
- | To check whether | + | |
< | < | ||
tc@box:/ | tc@box:/ | ||
Line 14: | Line 11: | ||
</ | </ | ||
- | If the output is /bb/grep the slower BusyBox version is being used. If the output is /bin/grep the faster GNU Grep is //likely// being used, although it may symlink to /bb/grep, further confirmation is required. Run '' | + | If the output is /bb/grep the slower BusyBox version is being used. If the output is /bin/grep the faster GNU Grep is likely being used although it may symlink to / |
< | < | ||
tc@box:~$ sudo find / -name " | tc@box:~$ sudo find / -name " | ||
Line 41: | Line 38: | ||
</ | </ | ||
- | Last run '' | + | Last run '' |
< | < | ||
tc@box:/ | tc@box:/ | ||
Line 47: | Line 44: | ||
</ | </ | ||
- | To confirm whether this grep hassle is worthwhile, an 11 MB mupdf.sce (pdf reader) update check was completed as a case study. | + | ==== Import GNU Grep ==== |
+ | Some SCEs include GNU Grep, though it is best to confirm using the steps outlined above. For example, xorg-* SCEs appear to include GNU Grep but the Xvesa SCE does not. Users running Xvesa graphics or no graphics may, therefore, not be utilizing the faster Grep. If the SCE that provides this faster Grep is always listed in sceboot.lst then there is no need for a separate import, otherwise import the ' | ||
+ | < | ||
+ | sce-import -b grep | ||
+ | </ | ||
+ | |||
+ | ==== Grep Performance ==== | ||
+ | To confirm whether this Grep hassle is worthwhile, an 11 MB mupdf.sce (PDF reader) update check was completed as a case study. | ||
**[[http:// | **[[http:// |