Jump to content

vlad

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by vlad

  1. another way to get kodi running on the A10/A20 with HW acceleration is to try this http://kodi.wiki/view/External_players using the mplayer which is capable of using HW decoding
  2. not particularity correct we are all measuring some kind of performance for our use case, i couldn't give a fuck if dd or bonnie is able to write with +100MB in a synthetic test if the applications i use can't do that. the 10MB/s i have reported earlier could be improved, i go almost 20MB (using deluge-ltconfig plugin) but with both cores at 100% and with 25-30% ram utilization durring the download process (the ram ustilization its almost constat because p2p uses a lot of ram), when i am doing this tests i am always using torrents well seeded with majority of the seeders from the same country and here is a speedtest for my home connection which i don't think is a bottlenek @baos it will just test reads and write speeds i don't think you need to worry about data loosing
  3. just delete everything in /etc/update-motd.d
  4. i know the topic started like low power torrent box but I am talking about a this regarding the IRQ/ I/O scheduler i am taking about the suggestion from http://linux-sunxi.org/SATAspecially this part the I/O scheduler i changed for a mechanical HDD like you said in /etc/init.d/armbianhwinfo but is set to cfg and not deadline and the IRQ's for the HDD are not sent to the second core only the IRQ from the nic is @Baos - my use case is a bit different than yours, in my case the cubietruck downloads content and serves it via NFS to 2-3 clients and so far i have no problem with the read speeds (i don't really know any value for them) the "problem" i have is with write speeds, but write speeds coming from programs like deluged/transmission
  5. i am not sure to what version you are referring but the teaks for SATA are no present (the deadline IO scheduler or moving the IRQ fro sata to the second core) in the latest version of armbian with vanilla kernel what does low power even mean ? how much performance are you willing to sacrifice to have a low power device ? sure if you mean under 10W yes the the orange pi or any other decent SBC is the way to go but there are plenty of low power x86 which for the power they use offer great performance. take this for example http://www.htpcbeginner.com/htpc-nas-combo-build-2016/(i have no affiliation with that site) - sure its not exactly cheap (but i don't think you need an ssd or 8gig of ram so price will go down) but try putting a 4TB in an SBC, any SBC for that matter, add 2-3 clients to it and see how it performs compared to the build mentioned above as I said in my first reply it really depends what exactly is low power, how much money you want to invest and how much time you want to invest in it
  6. i did the speed test long time ago (i have redone them on armbian too) and i get close speeds to what you got, but so far i haven't been able to use any other program beside dd to write that fast and i am mainly talking about transmission/deluge, i haven't tried rtorrent yet maybe i could get better speeds, so that is why i wrote only ~10MB/s. i have even tried the suggestions from here http://linux-sunxi.org/SATA, the IO scheduler, IRQ with little to no difference in write speed - i will have to try the suggestions for CPU also to see if something changes i agree that an x86 will consume more, but thinking about the boost in performance and that it just works no fussing with IO schedulers or IRQ or custom kernels i think it is to be considered if the goal is to have a nas/media center device
  7. @Guest_TFR_* the short answer is no save money and go for an x86 desktop and even though youll spend more money to begin with it will save you a looooot of time and give you more than decent performance, i will recommand you the AM1 platform from AMD its has a more than decent GPU, so it could easily download content and play it using kodi (which in my opinion is the best media center software ever) - itx motherboards for the AM1 socket are cheap so with lets say 100E you could have a pretty decent box (even less if you have some parts around) the long answer i have a cubietruck (or i think i still have one - bad incident with a power supply last night - be aware when buying cheap stuff from china - save yourself the trouble and always buy power supply or other important stuff form reliable sources) the cubietruck has at first great specs dual core soc, 2 gigs of ram, sata port, 1gig ethernet - unfortunately the specs are great only on paper (not talking about the soc or ram) but the performance of the sata port and the gigabit ethernet is at half at best. (but i could get continuous write speeds arount 10MB/s on a mechanical HDD @7200RPM) Software support (at least for this board) is great thanks to the great community here and thanks to Igor, i have been using his images for a long time, but as i said hardware is not up to the task. So as suggested go for x86 if you value your time and money - at the moment the SBC world, in my opinion, is experimental others may have other options.
  8. there is no board there which runs only with free software
  9. i am running mine almost like nemonein software wise but im not using an enclosure just some standoffs and a piece of acrylic which hold an 2.5" hdd, and im getting 48C but my use case i very minimalist - i only use it 2-3 hours on a night when its streaming content via nfs to one rpi running openelec or early in the morning when content is released and deluge does its job. I wouldn't worry that much about the SoC since its designed to be used in tablets/phones so high temperatures i don't think will be a problem also it has a max operating temp of 120C if i am not mistaken but I would worry more about the harddrive - given that you have a closed enclosure i would suggest getting a cooler also get hddtemp or smartmontools and check the temp of you harddrive
  10. totally with PHP - i think a basic authentication would be enough http://php.net/manual/en/features.http-auth.phpbut yeah mysql with cookies/sessions based login could also be used for more security or greater flexibility
  11. ok so on a quick search looks like there are some discrepancies on what the pam_motd is supposed to do and what it actually does https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743286 https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1169558 http://unix.stackexchange.com/questions/246436/how-to-set-a-dynamic-message-of-the-day-motd-in-debian-jessie-8-2-for-ssh anyway this is how i fixed the problem on my armbian first edit the /etc/pam.d/login and /etc/pam.d/sshd and comment this line (in both files) session optional pam_motd.so motd=/run/motd.dynamic noupdate and create a link from /run/motd.dynamic to /etc/motd/ ln -s /run/motd.dynamic /etc/motd reopen your session and the motd should be updated every time on login
  12. i have experienced something similar after posting my dynamic motd update, and it look pretty similar to what @baos is describing. From my understanding the files from /etc/update-motd.d/* are executed by the PAM-API on successful login, other information i found on the ubuntu wiki suggest that the motd is actually updated via crontab - but i couldn't find any information regarding this in the armbian implementation so the information i found must be outdated Given the information above i think the the PAM updates the motd on every successful login but it actually reads the motd (/etc/motd) from the previous successful login - this is easy to check just login twice and see if the uptime is reported correct for my setup i made some changes to the pam.d files and its reports correctly - i will post them as soon as i have access to my box.
  13. @Jack Bizon you mentioned something about controlling the lamp from the internet, even though this is not you use case, that means your *insert board name here* will be accessible from the internet so i would strongly suggest to implement some sort of authentication even if you are the only user accessing it
  14. here you can find some information about cedarx http://linux-sunxi.org/CedarX
  15. after reading more on the bittorent protocol, looks like even though PEX and DHT can be used to have a truly decentralized and to have better performance/efficiency it still needs a tracker to form the initial swarm. bittorrent protocol, specially PEX and DHT chapters https://en.wikibooks.org/wiki/The_World_of_Peer-to-Peer_(P2P)/Networks_and_Protocols/BitTorrent Totally ubuntu and fedora are already doing this ( https://torrents.fedoraproject.org/and http://torrent.ubuntu.com:6969/)
  16. @zador.blood.stained - i didn't know it was asked before. I am not familiar with DHT and or PEX but how would you get a list of peers for a specific torrent of if there is no tracker to keep track of the peers, I mean I have read about DHT and it's suppose to be decentralized but would that work also on the internet or would it only work on a local network ? @tkaiser I know about that page and it looks like we are already consuming more than 100G/day - I guess it really depends what deal has Igor got from his server provider
  17. I guess everyone knows that downloading distros in general takes a lot of bandwidth, same with armbian even thought the armbian distro i only a couple of hundreds of MB. so beside offering direct download why not start using p2p downloads like ubuntu and other distros do already in order to save bandwidth. We can use the openbittorrent.com public tracker - i already have a cubietruck which is powered 24/7 for my p2p needs so i would mind sharing some armbian distros via p2p. What do you guys think ?
  18. vlad

    cubietruck case

    Since i got my cubietruck i always wanted a case for it, this is only some renderings from fusion360 but i hope to have this laser cut by the end of next week. will post the dxf files as soon as i verify measurements are good. Should fit a 2.5inch HDD clearance should be good for any HDD height and a 40mm fan to keep everything cool. https://plus.google.com/+VladConut/posts/83DE48BfaeV?pid=6253694765056043538&oid=107327773320252263907
  19. get something based on ftdi devices they are know to work across all platform windows/linux/osx but make sure you get a genuine device since ftdi are again abusing, at least on windows operating systems, that updates system and bricks non genuine ftdi chips ebay has hundreds of listings for ft232 starting at around $2.2 only problem it could take a while to arrive. Based on where you live check out sparkfun or adafruit or pololu - they are US based and they will sell you a genuine part but it will cost like 5-6x or more than the ebay listings if you are EU based check olimex or exp-tech.de
  20. I don't run a mysql server i also do not backup any data (cept what is in the home dir) - the backup was only meant for the OS - but for mysql backup i think you should take another route for backup as tkaiser suggested mysqldump would be the way to go. also i see no reason to stop nginx or apache2 for that mater since they are simple web servers for serving files
  21. i started working sometime ago on a backup script for my armbian, it is not complete and it was built for my case but it give a starting point for anyone interested in making a backup. some decisions i took before writing it: decided to go with rsync + archive and not rsync + image, going with archive instead of image makes restoring the backup a bit harder but it doesn't stop you from using a different format for your partition or a different sd card size same . archives are uploaded to a ftp server, i chose ftp and not ssh because the ftp service is provided by my ISP so super fast speeds and it cost almost nothing. i have the rootfs on a mechanical hdd and the uboot/kernel on sdcard so i am making two archives boot and rootfs (but i could be easily changed to backup the whole thing) the backup its suppose to run every midnight in a crontab so it doesn't output anything directly but its logged in a file, which i am planing to email after a successful backup. backup.zip After the backup in order to have a bootable sd card you need to write the u-boot to the sd card your using some information are provided here http://forum.armbian.com/index.php/topic/594-move-armbian-from-one-sd-to-another/- that i am hoping to fix in the future with a restore script.
  22. ok let me put things in a different perspective for you 1. I don't really care about other boards, i clearly stated in the first post on what board/kernel this was written for. 2. the battery information is not relevant for me since i don't use a battery. 3. I am not reinventing the wheel I just chose a different way to fix my problem and i certainly did not introduce incompatible code because the code runs on the board/kernel it was written for (i am not quite sure why you refuse to understand that) also i think every one here is old enough to decide for himself/herself if he/she wants to use what i posted or not. I only posted this because i thought it could be helpful for someone else, clearly for your case its not but i don't get why you keep telling me that i am trying to reinvent the wheel as long as this, as it is currently fixes my problem. hope this makes things more easier to understand also i see no reason to keep discussing why i did it like this so you either use it like this propose new changes or go play somewhere else.
  23. why would i take it as an insult ? i clearly stated in the first post that some values are hard coded and i am using the mainline kernel which makes this not usable for everyone. Surely it could be updated to work with all the boards and different kernels but i only have a cubietruck with the mainline kernel so i can't really test the changes on other boards and since my cubietruck is working as a 24/7 server i dont really want to take it down and check other kernels - but if you or any one else has hardware/time to test and make changes you are more than welcomed to do so, this is why i also posted this here
  24. information is irrelevant only if you consider it irrelevant, and lets not forget this is only a motd. If you have a problem with the temperature it could be cause by a hardware problem in which case no piece of software is going to help you. Actually you can write a piece of code in *insert random programming language here* to regularly check the temperature and if it passed certain threshold shutdown the hardware to prevent damage but at least for A20 chips the datasheet states a recommended ambient temperature of max Ta = 70C, no information given for junction temperature (the temperature inside the IC) but it will work perfectly well above 100C. If on the other hand the rise in temperature its cause by software, without data logging every event you can't tell why you had a rise in temperature and that is in my opinion irrelevant. regarding your cronjob example, you dont test your code before you start using it on a cronjob ?you controll the hw with the sw you write, why would the code hang if it was written to be robust ?I am sorry but using resource monitor to debug poorly written code you are doing it wrong. returning to motd this is not suppose to replace a real system monitor, it supposed to give you quick information when you login, and for me this is all i want, and if you know you are expecting high loads/usage/temperatures you should look at the hundreds of linux monitors which will work on any board that could run armbian
  25. ok so regarding the memory usage the output of free its a bit misleading (i was before i googled it) if your not familiar with how linux treats ram memory - http://www.linuxatemyram.com/will explain better than i could ok so here is the updated 10-sysinfo _ ___| |_ ___ _ __ __ _ __ _ ___ / __| __/ _ \| '__/ _` |/ _` |/ _ \ \__ \ || (_) | | | (_| | (_| | __/ |___/\__\___/|_| \__,_|\__, |\___| |___/ Welcome to Ubuntu 14.04.3 LTS (4.3.3-sunxi). System information as of: Tue Jan 12 22:31:17 EET 2016 System load: 0.37 Memory usage: 7.0% Local users: 1 Swap usage: 0.0% IP address: 192.168.88.4 Uptime: up 1 week, 20 hours, 46 minutes Usage of root/: 7% of 16G HDD temp: 43°C Usage of storage/: 26% of 443G Board temp: 49°C 0 updates to install. 0 are security updates. Last login: Tue Jan 12 22:30:41 2016 from 192.168.88.100 root@storage:~# 10-sysinfo.zip
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines