Mohammed Alnahdi
I really appreciate your help in this. Thank you.
Marco
hi all, can I migrate my zfs dataset from actually pool to pool on another disk but it's contain a pool with dataset from archlinux?
Krond
zfs send/restore?
r2g2
be warned: do not mix encrypted datasets which you access from both linux and freebsd
Marco
No no. Actually I'm not use encrypted datasets
Chris
be warned: do not mix encrypted datasets which you access from both linux and freebsd
what do you mean by mix? is there some caveat by acessing an encrypted pool from linux and bsd? aside the zfs flags compatibility?
r2g2
access (read/write) from both sides
r2g2
I have been testing this since 2016 and have encountered many unreadable datasets
r2g2
e.g. write data on freebsd, then on linux, then on freebsd, then update on linux from openzfs-2.1.2 to openzfs-2.1.4, then write, then try to access from freebsd: I/O error, then try to access from linux: I/O error
Chris
hm, interesting, I even had Arch Linux running with the git version of openzfs, must have been lucky so far 🤪
Chris
and FreeBSD
Chris
*makes backup*
Chris
now I am back to MX Linux again because I was a bit annoyed with Arch (Artix), AUR is nice and all for up to date stuff but it made the system unstable, crashes in applications etc.... another iteration of openzfs and still no error, but I'll keep that in mind, thanks 👍🏻
Mohammed Alnahdi
Mohammed Alnahdi
Is it normal 4.5G memory usage?
Anonymous
Is it normal 4.5G memory usage?
from my experience.....it depends on the application you are using and also the windows manager. if not many applications running, it will be reduced
Anonymous
i have 651+ pkgs n using i3wm. at the moment with many applications running and 2 browsers opened with about 15 tabs, my ram usabe is 5.4G. Thats normal for me. it goes up n down
Mohammed Alnahdi
i have 651+ pkgs n using i3wm. at the moment with many applications running and 2 browsers opened with about 15 tabs, my ram usabe is 5.4G. Thats normal for me. it goes up n down
Before came to freebsd I was use suckless dwm. Because still not know everything in bsd or let us said I dont know how manage the process, like mount drive or packaging ... Etc. In suckless, i can reduce ram usage to 150MB to 200MB.
Mohammed Alnahdi
try this link....very useful tips from someone. pls ready the freebsd handbook too. https://vermaden.wordpress.com
Thanks 🙏, I am in Absolute Freebsd by Michael Lucas. After finishing, I will start for freebsd handbook.
Mohammed Alnahdi
And your link is helpful tho.
Anonymous
Thankq...ThaT guy is very helpful
Jay
Is it normal 4.5G memory usage?
I bet most of it is buffers and cache. Do you use zfs?
K
ZFS doesn’t use much memory unless you enable deduplication (which you should not)
Krond
Any system should excel at using all of your memory to speedup what you are doing.
Jay
ZFS doesn’t use much memory unless you enable deduplication (which you should not)
It does from 1/3 to 1/2 IIRC if you don't set vfs.zfs.arc_max
K
It does from 1/3 to 1/2 IIRC if you don't set vfs.zfs.arc_max
That’s the maximum it is allowed to use, not what it actually uses all the time
Jay
That’s the maximum it is allowed to use, not what it actually uses all the time
OP didn't write how long the system is up and how busy it is
K
Uptime is 21 mins :)
r2g2
even more ... standard is total RAM minus 1GB
K
zfs uses quite a lot as ARC (cache), up to 50%
My Arch Linux right now (XFCE, ZFS) uses 640M OS is different but OpenZFS codebase is the same Cannot log on my FreeBSD instance rn but RAM usage is low there too (webserver, 12.2)
r2g2
yes, does not mean it eats your ram immediately. also dependent on the size of your storage pools
Krond
Hehe, define busy: Memory: 6264M Active, 108M Inact, 2948M Wired, 80M Cache, 691M Buf, 4264M Free Swap: 64G Total, 14G Used, 50G Free, 22% Inuse, 10M In, 8932K Out This is just www/firefox build, 4G free RAM is due to some processes using that much RAM recently exited freeing it to the system, otherwise whole RAM would be used for cache/tmpfs.
r2g2
modern browsers are horrible
r2g2
the whole web is broken
Krond
Nah, Firefox itself is fine, but having too many cores means any parallel build will vacuum all your RAM in no time.
Krond
One compiler instance can eat 2Gb easily, which is already more then Firefox is using with all my hundred tabs.
Neville
Why is freebsd not a popular operating system?
It takes more time to set up. Also driver support is not so good
Jay
Yes
Set vfs.zfs.arc_max to a minimum and see if it still consumes memory
Mohammed Alnahdi
Set vfs.zfs.arc_max to a minimum and see if it still consumes memory
too advanced. I google it and see several solution 😅
Mohammed Alnahdi
@JayOK can we skip this right now? because I want finished two books right now. I thought it will be easy solution. 😅
r2g2
several of my systems have set vfs.zfs.arc_max set to 256 mb, and it works, for these slow storage systems
Mohammed Alnahdi
several of my systems have set vfs.zfs.arc_max set to 256 mb, and it works, for these slow storage systems
is it just add line in /boot/loader.conf vfs.zfs.arc_max="256MB" ?
r2g2
no, you have to write it in bytes
r2g2
256*1024*1024
Mohammed Alnahdi
256*1024*1024
vfs.zfs.arc_max="277872640"
Mohammed Alnahdi
like this ?
r2g2
yes
r2g2
and of course reboot
Mohammed Alnahdi
and of course reboot
it became 1238 MiB, it is better than 4G.
Mohammed Alnahdi
Mohammed Alnahdi
@rob2g2 thanks
r2g2
what does "top -b -o res" report?
Mohammed Alnahdi
what does "top -b -o res" report?
last pid: 70952; load averages: 0.03, 0.12, 0.08; battery: 92% up 0+00:10:11 17:33:43 36 processes: 1 running, 35 sleeping CPU: 1.1% user, 0.0% nice, 0.7% system, 0.2% interrupt, 98.0% idle Mem: 454M Active, 629M Inact, 104K Laundry, 750M Wired, 56K Buf, 5882M Free ARC: 266M Total, 153M MFU, 101M MRU, 136K Anon, 2086K Header, 9355K Other 222M Compressed, 446M Uncompressed, 2.01:1 Ratio Swap: 4096M Total, 4096M Free
Mohammed Alnahdi
Mem: 454M Active, 629M Inact, 104K Laundry, 750M Wired, 56K Buf, 5882M Free
Mohammed Alnahdi
r2g2
yeah telegram-desktop consuming a whopping GB of RAM
r2g2
err, half a GB
X
hi guys! i have a fbsd machine with xfce. i have wavelan-plugin installed. however when i click on a message error appeared telling me that he cant find nm-connection-editor. any ideas. thank you.
Null
Systems, Science and FreeBSD What makes a platform suitable to both research and development? It is not simply the artifacts that are generated, but the tools that the platform brings to bear on evaluating the usefulness and quality of the research that is being undertaken. FreeBSD continues to push the boundaries of systems research through its adoption and extension of significant new technologies such as DTrace and LLVM. This talk looks at how the latest tools and techniques are being applied to systems research and how the tools enable us to find deeper insights and more clearly communicate and share our results with other researchers.
Anonymous
root@FreeBSD ~# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 231G 9.0G 203G 4% / devfs 1.0K 1.0K 0B 100% /dev /dev/ada0p1 299M 1.2M 298M 0% /boot/efi
Anonymous
hello, i see something used in this df -h session but i dont know what may be. do you have any idea?
Oleg
du -a / | sort -nr -k1 | more
Anonymous
sysctl hw.acpi.lid_switch_state=S3 any way to set this permanent?
Anonymous
works if i put it under rc.conf?
Anonymous
or under loader.conf?
Anonymous
thanks
Anonymous
but how do i set it to go into the sddm
Anonymous
i mean to ask me the credentials, lockscreen and stuff
Anonymous
but how do i set it to go into the sddm
You must configure the sddm.
Anonymous
Read its manual/documentation.